discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Cannot import gnuradio


From: Liang Xian Loong
Subject: [Discuss-gnuradio] Cannot import gnuradio
Date: Fri, 28 Jun 2013 13:54:52 +0200

Dear Helpers,

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

I had refered to this thread http://lists.gnu.org/archive/html/discuss-gnuradio/2013-06/msg00313.html and doone the following:

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


reply via email to

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