I can't run *.py in /digital

Hi:

I use one RXF2400 daughter board on monther board. (also try the RXF900)
I have two computer and use they to try ./benchmark_rx.py -f 2400 and
./benchmark_rx.py -f 2400.

And try the ./tx_voice.py -f 2400M

I got fllow error message, what can I do?

[email protected]
/usr/src/gnuradio/gnuradio-examples/python/digital
$ ./tx_voice.py -f 2400M
Traceback (most recent call last):
File “./tx_voice.py”, line 38, in
import usrp_transmit_path
File
"/usr/src/gnuradio/gnuradio-examples/python/digital/usrp_transmit_path.py
", line 23, in
import usrp_options
File
“/usr/src/gnuradio/gnuradio-examples/python/digital/usrp_options.py”,
lin
e 30, in
import generic_usrp
File
“/usr/src/gnuradio/gnuradio-examples/python/digital/generic_usrp.py”,
lin
e 36, in
from gnuradio import gr, usrp, usrp2
ImportError: cannot import name usrp2

[email protected] /usr/src/gnuradio/gnuradio-examples/python/digital
$ ./benchmark_tx.py -f 2400M
Traceback (most recent call last):
File “./benchmark_tx.py”, line 32, in
import usrp_transmit_path
File
"/usr/src/gnuradio/gnuradio-examples/python/digital/usrp_transmit_path.py
", line 23, in
import usrp_options
File
“/usr/src/gnuradio/gnuradio-examples/python/digital/usrp_options.py”,
lin
e 30, in
import generic_usrp
File
“/usr/src/gnuradio/gnuradio-examples/python/digital/generic_usrp.py”,
lin
e 36, in
from gnuradio import gr, usrp, usrp2
ImportError: cannot import name usrp2

Li Mei-Wen wrote:

$ ./tx_voice.py -f 2400M
import generic_usrp
Traceback (most recent call last):
File
“/usr/src/gnuradio/gnuradio-examples/python/digital/generic_usrp.py”, lin
e 36, in
from gnuradio import gr, usrp, usrp2
ImportError: cannot import name usrp2


ÀH¨­ªº Windows Live Messenger ©M Hotmail¡A¤£­­®É¦a´x´¤¸ê°TºÉ¦b«ü¶¡¡X
Windows Live ! fo! ! r Mobile http://3c.msn.com.tw/mobile/
This means the usrp2 python module isn’t being detected. Make sure the
usrp2 directory is compiling and installing correctly and check your
PYTHON_PATH to make sure its looking in the correct place.

Tim

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs