Daniel, while it's also the case that you are referring to a different version of Python, our installers install to /usr/lib/python2.7/dist-packages instead of /usr/local.

On 06/25/2012 07:51 AM, ki6njf wrote:

Dan,

typing $PYTHONPATH at the command line will give an error, bash is trying to execute it. use:

echo $PYTHONPATH instead.

Ubuntu 12.04 is using: /usr/local/lib/python2.7/dist-packages instead of python2.6

73s

jim

On Monday, June 25, 2012 10:37:46 AM Daniel Labarowski wrote:

Hello,
I installed GNURadio using the deb package Ettus distributes here <http://files.ettus.com/binaries/gnuradio/latest_stable/>. I'm using Ubuntu 12.04 64 bit. The install seems to work properly but when I try to open GNURadio companion I get a Cannot import GNURadio error. This <http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall> page says to add "export PYTHONPATH=$PYTHONPATH:/opt/gnuradio/lib/python2.6/site-packages" to my bashrc. However, opt is empty and I believe the relevant files have been installed to /usr/lib/python2.7/dist-packages as there is a gnuradio folder there. I have added "export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/dist-packages" to my bashrc. However, when I run $PYTHONPATH in a new terminal I get "bash: :/usr/local/lib/python2.6/dist-packages: No such file or directory" and grc gives the same cannot import GNURadio error. I used nano to edit the bashrc. Does anyone know what I'm doing wrong? Thanks ahead of time!

-Dan



--

Statistics have proven that the surest way to get anything out of the public mind and never hear of it again is to have a Senate Committee appointed to look into it. - Will Rogers



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

--
Nicholas Corgan

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to