discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Setting PythonPath


From: Ben Reynwar
Subject: Re: [Discuss-gnuradio] Setting PythonPath
Date: Tue, 18 Jun 2013 11:01:36 -0700

Also, as of a couple of weeks ago, if you put
gnuradio/build/gnuradio-runtime/python in your PYTHONPATH then that
will work too.  You'll need to be using the current master branch for
this to work.

On Tue, Jun 18, 2013 at 9:03 AM, Marcus Leech <address@hidden> wrote:
> If you had used the build-gnuradio script, it will, as one of the last
> things it does, suggest what PYTHONPATH to use on your system.  Ubuntu
> typically puts locally-installed Python packages in:
>
> /usr/local/lib/python2.X/dist-packages
>
> Also, keep in mind that the default terminal window configuration for Ubuntu
> does't set the "run as login shell" flag, so your .bashrc file is never run.
> You can change this behaviour in the preferences for the terminal window.
>
>
> on Jun 18, 2013, Aaron Henderson <address@hidden> wrote:
>
> Hello All,
>
> I have worked on setting the PythonPath for 3 weeks now.
>
> I have followed the steps in the following posting:
> http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall
>
> Here is my latest attempt of editing my bash file:
>
> # GNU Radio installation
> export PATH=$PATH:/usr/local
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
> export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/site-packages
>
> and here is the error code that persists no matter what I do when I use my
> benchmark code:
>
> Traceback (most recent call last):
>   File "benchmark_rx2.6a.py", line 23, in <module>
>     from gnuradio import gr, gru, modulation_utils
> ImportError: No module named gnuradio
>
> Does anyone have any tips or clues as to what I am doing wrong?
>
> Aaron henderson
>
>
>
>
> ________________________________
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]