[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] "from gnuradio import gr"
From: |
Charles Chen |
Subject: |
[Discuss-gnuradio] "from gnuradio import gr" |
Date: |
Mon, 11 Jul 2005 14:09:25 -0700 (PDT) |
Hi All,
I have everything installed and was trying to run
./usrp_oscope.py according to the instructions at
http://comsec.com/wiki?UsrpInstall . However, I get an
error when I try to run the file.
address@hidden usrp]# ./usrp_oscope.py
Traceback (most recent call last):
File "./usrp_oscope.py", line 23, in ?
from gnuradio import gr
File
"/root/gr/lib/python2.3/site-packages/gnuradio/gr/__init__.py",
line 29, in ?
from flow_graph import *
File
"/root/gr/lib/python2.3/site-packages/gnuradio/gr/flow_graph.py",
line 26, in ?
from gnuradio_swig_python import buffer,
buffer_add_reader, block_detail, \
ImportError: cannot import name buffer
So the problem is, I can import gnuradio, wx, and
Numeric but when i try to import gr from gnuradio it
won't work. Here's what happens:
address@hidden usrp]# python
Python 2.3.5 (#1, Jun 29 2005, 14:26:55)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-20)] on
linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>> import gnuradio
>>> import wx
>>> from gnuradio import gr
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/root/gr/lib/python2.3/site-packages/gnuradio/gr/__init__.py",
line 29, in ?
from flow_graph import *
File
"/root/gr/lib/python2.3/site-packages/gnuradio/gr/flow_graph.py",
line 26, in ?
from gnuradio_swig_python import buffer,
buffer_add_reader, block_detail, \
ImportError: cannot import name buffer
I have been stuck on this problem for a long time.
Hope that I can get some suggestions. Thanks everyone.
-Charles
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- [Discuss-gnuradio] "from gnuradio import gr",
Charles Chen <=