Hi,
I’m new to Linux, and I’ve installed GNUradio on Fedora 16 XFCE using
the install script found on the GNUradio wiki install page.
(http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR) I ran
the script through the terminal with the script place in a folder in my
home directory (~/GNUradio).
After entering
export PYTHONPATH=/usr/local/lib64/python2.7/site-packages
into the terminal, I was able to run gnuradio-cpmpanion. However, every
time I close the terminal, I must re-enter:
export PYTHONPATH=/usr/local/lib64/python2.7/site-packages
to run gnuradio-companion.
I read on some other site that I should change my .bash-profile file to
include the line
PYTHONPATH=/usr/local/lib64/python2.7/site-packages
now it looks like this:
.bash_profile
Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
PYTHONPATH=/usr/local/lib64/python2.7/site-packages
export PATH
export PYTHONPATH
but it still needs me to type:
export PYTHONPATH=/usr/local/lib64/python2.7/site-packages
to get gnuradio-companion to run.
Also, when I try to run dial_tone.py from the terminal I get an error if
I don’t set PYTHONPATH as above. The error I get is shown in the
attached image.
Thanks,
Frederick