Hi,I am trying to install gnuradio on Kubuntu 14.04 64 bit. I am using the
binaries from the main Ubuntu software repository to install the same by
running the following: sudo apt-get install gnuradioThe installation works
fine. However, when I tried running gnuradio-companion, I got the GUI
indicating the following:Cannot import gnuradio.Is the python path
environment variable set correctly?    All OS: PYTHONPATHI felt that this
could be due to the fact that I have  Anaconda's Python
<https://store.continuum.io/cshop/anaconda/>   installed, which I do so for
several reasons.  So, my Python runs from /home/nipun/anaconda/bin as
opposed to the default Ubuntu path. I verified this by importing gnuradio
from Python run by /usr/bin/python as opposed to Anaconda's python
(/home/nipun/anaconda/bin/python). I could import gnuradio from
/usr/bin/python.This suggests that gnuradio picks up the default Ubuntu
python location. I then uninstalled gnuradio using sudo apt-get remove
gnuradio and set my PATHS as in .bashrc, did a sudo ldconfig and source
.bashrc. My paths at this point were as follows:nipun@nipun-batra:~$ echo
$LD_LIBRARY_PATH
/usr/lib32:/home/nipun/anaconda/bin:/usr/local/libnipun@nipun-batra:~$ echo
$PYTHONPATH /home/nipun/anaconda/bin:However, even after this point,
gnuradio would work from default Ubuntu path only. Also, gnuradio-companion
would naturally complain and not startup.Question 1: How can we set custom
Python path for gnuradio to install to?Question 2: Anaconda has made life
much easier for the scientific Python community. It makes installing on
Windows, Mac and Linux pretty easy. Also, dependencies such as numpy, scipy,
etc. are also taken care of. Would the gnuradio team consider putting up a
package on Anaconda. The Anaconda team look pretty helpful and should be
willing to help. I think that this can save a lot of questions on
installation related questions across different environments.



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Installing-gnuradio-when-Python-is-installed-at-custom-location-tp50165.html
Sent from the GnuRadio mailing list archive at Nabble.com.
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to