[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] error on running usrp2_version of 80211
From: |
Alexander Chemeris |
Subject: |
Re: [Discuss-gnuradio] error on running usrp2_version of 80211 |
Date: |
Wed, 28 Oct 2009 18:38:50 +0300 |
Hi Ilya,
Sometimes you need to run "sudo ldconfig" by hands to update
ldcocnfig db. Or it might not find required .so files.
On Wed, Oct 28, 2009 at 18:09, Ilya Chukhman <address@hidden> wrote:
>
> I seem to be having a similar problem. I built and installed the
> USRP2 branch of BBN code on Ubuntu 9.04 without any errors, but when I try
> to run any of the examples I receive:
> Traceback (most recent call last):
> File "/usr/local/bin/bbn_80211b_tx.py", line 32, in <module>
> from bbn_80211b_pkt import *
> File "/usr/local/lib/python2.6/dist-packages/bbn_80211b_pkt.py", line 32,
> in <module>
> from gnuradio import bbn
> ImportError: cannot import name bbn
>
> I don't have an environment variable PYTHONPATH, but within python, when
> issuing print sys.path, I get the following:
>
> ['', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
> '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
> '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages',
> '/usr/lib/python2.6/dist-packages/Numeric',
> '/usr/lib/python2.6/dist-packages/PIL',
> '/usr/lib/python2.6/dist-packages/gst-0.10',
> '/var/lib/python-support/python2.6',
> '/usr/lib/python2.6/dist-packages/gtk-2.0',
> '/var/lib/python-support/python2.6/gtk-2.0',
> '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode',
> '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
> '/usr/local/lib/python2.6/dist-packages']
>
> The directory /usr/local/lib/python2.6/dist-packages/gnuradio contains
> bbn.py.
>
> After setting PYTHONPATH to
> /usr/local/lib/python2.6/dist-packages:/usr/local/lib/python2.6/dist-packages/gnuradio,
> I still receive the "cannot import name bbn" error.
>
> Could someone point out what I am doing wrong?
>
> Ilya
>
> Eric Blossom wrote:
>>
>> On Wed, Sep 16, 2009 at 05:46:48AM -0700, maher manai wrote:
>>> when i run the 80211b.test.py it appears an error wich is
>>> address@hidden examples]# ./bbn_80211b.test.py
>>> bash: ./bbn_80211b.test.py: Aucun fichier ou dossier de ce type
>>> address@hidden examples]# ./bbn_80211b_test.py
>>> Traceback (most recent call last):
>>> File "./bbn_80211b_test.py", line 35, in <module>
>>> from bbn_80211b_pkt import *
>>> File "/home/maher/usrp2_version/gr-bbn/src/examples/bbn_80211b_pkt.py",
>>> line 32, in <module>
>>> from gnuradio import bbn
>>> ImportError: cannot import name bbn
>>>
>>> i ask if it's a problem of gcc or another problem
>>
>> Check the setting on your PYTHONPATH.
>>
>> Eric
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/error-on-running-usrp2_version-of--80211-tp25472151p26096371.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
--
Regards,
Alexander Chemeris.