discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gnuradio-companion


From: Sid Boyce
Subject: Re: [Discuss-gnuradio] gnuradio-companion
Date: Mon, 06 May 2013 01:27:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

On 06/05/13 00:34, Marcus D. Leech wrote:
On 23/04/13 14:46, Sid Boyce wrote:
# gnuradio-config-info -v
v3.6.4.1-106-gf1dbf510

On bot x86_64 and ARM gnuradio used to work now I get a pop-up complaining about PYTHONPATH.
"export PYTHONPATH=/usr/lib/python2.7" on ARM and "export PYTHONPATH=/usr/lib64/python2.7" on openSUSE doesn't help.

I even rebuilt gnuradio on x86_64 in case something in an update caused a problem.
73 ... Sid.



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
I rebuilt gnuradio, still getting the same error with gnuradio-companion.
"Cannot import gnuradio".
Presumably this is a python module which I don't have.

When I originally built gnuradio, gnuradio-companion worked on x86_64 and on ARM.
The next time I launched it I got the error on both platforms.
Pointers please.
73 ... Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Sid:

If you had previously installed Gnu Radio from packaged binaries (with apt-get or the like), it will have installed under /usr

If you installed it from source (using build-gnuradio, or manually) all of its bits and pieces will be in /usr/local.   Python packages will
  typically be installed under:

/usr/local/lib/python2.7/dist-packages

If you use build-gnuradio, one of the last things it does is try to figure out where things got installed, and suggest what you should set your
  PYTHONPATH to.



-- 
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
Thanks Marcus,
I found the problem, python2.7 and python3.2 and python3.3 are installed and it was picking python3.
"cmake -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib64/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr .." fixed it.
73 ... Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

reply via email to

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