The gnuradio.org page you linked to describes how to install GNU
Radio from source, which, by default, installs to /usr/local. /opt
is given as an example for another occasionally used install prefix.
Our installers install to /usr, so the relevant Python files would
indeed be installed to /usr/lib/python2.7/dist-packages, as you
observed.
Setting the PYTHONPATH to use /usr/local/lib/python2.6/dist-packages
will make it look for files that don't exist, thus the "No such file
or directory" error.
Remove the /usr/local path from .bashrc, and the "No such file or
directory" error should disappear. Assuming you don't have any local
installs, GRC should then look at /usr/lib.
On 06/25/2012 07:37 AM, Daniel Labarowski wrote:
Hello,
I installed GNURadio using the deb package Ettus distributes here.
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
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
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Nicholas Corgan
|