I had downgraded GNU Radio from GNU Radio 3.7 to GNU Radio 3.6.4, but when I run gnuradio-companion in Ubuntu 13.04 Terminal, I received the following message:
Cannot import gnuradio.
Is the python path environment variable set correctly?
All OS: PYTHONPATH
Is the library path environment variable set correctly?
Linux: LD_LIBRARY_PATH
Windows: PATH
MacOSX: DYLD_LIBRARY_PATH
1. in .bashrc added
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/
2. in CMakeLists.txt replace :
find_package(PythonLibs)
with :
find_package(PythonLibs 2.7.4)
Thank you.
Regards,
XLoong