Looks like there may be a bug in the PYTHONPATH finder inside build-gnuradio.
This has almost zero downstream consequences, since it's merely offering a suggestion as to what to set your PYTHONPATH to in your .bashrc. It doesn't automatically edit your .bashrc--that's up to you. On Ubuntu 10.04, it should be: PYTHONPATH=/usr/local/lib/python2.6/dist-packages On 11.10 PYTHONPATH=/usr/local/lib/python2.7/dist-packages Put one of those in your .bashrc or .profile or whatever, and logout/login. You should be able to start gnuradio-companion after that. On Tue, 27 Mar 2012 21:44:52 +0900, Wu Ting wrote: > Hi, Thank you for your reply. I ran ./build-gnuradio -v The result is in the attached file. Could you have a look at it. Thank you! > > Wu > > FROM: discuss-gnuradio-bounces+wu.ting=comf5.comm.eng.osaka-u.ac...@gnu.org [mailto:discuss-gnuradio-bounces+wu.ting=comf5.comm.eng.osaka-u.ac...@gnu.org] ON BEHALF OF Marcus D. Leech > SENT: Tuesday, March 27, 2012 9:15 PM > TO: discuss-gnuradio@gnu.org > SUBJECT: Re: [Discuss-gnuradio] Strange problem when using build-gnuradio script > > On 03/27/2012 03:59 AM, Wu Ting wrote: > > Hi all, > > I'm using build-gnuradio script to build gnuradio and uhd. It works well before (both on Ubuntu 10.04 and 11.10). However, on my current computer (Ubuntu 10.04), it has a strange problem. At first, it kept showing some libs are not found. After installing these libs and trying for several times, it finally finished installing. But it finished with such information: > > ************************************************************ > You should probably set your PYTHONPATH to: > > in your .bashrc or equivalent file prior to attempting to run > any Gnu Radio applications or Gnu Radio Companion. > ************************************************************* > Done function pythonpath at: Tue Mar 27 16:34:46 JST 2012 > Done all functions at: Tue Mar 27 16:34:46 JST 2012 > All Done > > There is EMPTY line below "You should probably set your PYTHONPATH to:". > > And I cannot run any gnuradio script. > > I also tried this: > >>>> from gnuradio import gr > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named gnuradio > > I also noticed that there is no .py files under /usr/local/bin/. > > There are only these files: > > uhd_cal_tx_dc_offset uhd_find_devices volk_profile > uhd_cal_rx_iq_balance uhd_cal_tx_iq_balance uhd_usrp_probe > > Anyone know what is the problem? > > Thanks. > > Wu > > _______________________________________________ > > Discuss-gnuradio mailing list > > Discuss-gnuradio@gnu.org [1] > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio [2] > > Re-run it with --verbose to see where it went off the rails. it clearly didn't build/install Gnu Radio, only UHD. The blank Pythonpath is because > it couldn't find any Gnu Radio bits in any of the places it looks for locally-installed Python bits. > > -- > > Marcus Leech > > Principal Investigator > > Shirleys Bay Radio Astronomy Consortium > > http://www.sbrac.org [3] Links: ------ [1] mailto:Discuss-gnuradio@gnu.org [2] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio [3] http://www.sbrac.org
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio