Thanks, all. However, after I set the PYTHONPATH and export it. I still get the same error when I run ./usrp_benchmark_usb.py.
But, if I test $ python, everything works. Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gnuradio import gr >>> from gnuradio import usrp >>> from gnuradio import audio >>> Thanks, Brook Eric Blossom wrote: > > On Wed, Aug 25, 2010 at 02:21:27PM -0700, Brook Lin wrote: >> >> Thanks again for your replies. But, I did try: >> >> $ cp /etc/ld.so.conf /tmp/ld.so.conf >> $ echo /usr/local/lib >> /tmp/ld.so.conf >> $ sudo mv /tmp/ld.so.conf /etc/ld.so.conf >> $ sudo ldconfig >> >> Nothing helps. BTW, I used libboost-all-dev from synaptic package manager >> rather than boost_1_37_0. >> >> Doug, you are right. I find gnuradio under >> /usr/local/lib/python/dist-packages/. My old Ubuntu version has the path >> /usr/local/lib/python/site-packages/gnuradio. >> >> Other solutions? > > Is your PYTHONPATH set to /usr/local/lib/python2.6/dist-packages? > Is your PYTHONPATH exported? > > Does this work: > > $ python > Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:31) > [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from gnuradio import gr > >>> from gnuradio import usrp > >>> exit() > > Eric > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -- View this message in context: http://old.nabble.com/Gnuradio-3.3.0-on-Ubuntu-10.04-tp29535765p29537097.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
