[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Installing gnuradio when Python is installed at c
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Installing gnuradio when Python is installed at custom location |
Date: |
Mon, 01 Sep 2014 17:44:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
You can set Python-specific CMake vars to your locations, e.g.
PYTHON_INCLUDE_DIR and PYTHON_LIBRARY.
M
On 09/01/2014 01:37 AM, nipun wrote:
> Thanks for your reply. However, this does not solve the problem, which I
> suppose may involve compiling the package and passing in the appropriate
> Python locations maybe?
>
>
> On Sun, Aug 31, 2014 at 7:00 PM, haroldmk [via GnuRadio] <[hidden
> email]> wrote:
>
> As stated
> on http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio_Linux
> the installation of gnuradio will not necessarily install all
> dependencies. They recommend to run
>
> sudo apt-get install python python-wxgtk2.8 pyqt4-dev-tools
> python-qwt5-qt4 python-numpy libboost-all-dev libusb-1.0.0-dev
>
> I would also recommend to install the GNU Radio with Ettus
> repositories instead of the ones of Ubuntu.
>
>
>
>
>
>
> 2014-08-31 16:02 GMT-06:00 nipun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=50166&i=0>>:
>
> 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 gnuradio The 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: PYTHONPATH I 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: address@hidden:~$ echo
> $LD_LIBRARY_PATH
> /usr/lib32:/home/nipun/anaconda/bin:/usr/local/lib
> address@hidden:~$ 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: Installing gnuradio when Python is
> installed at custom location
>
> <http://gnuradio.4.n7.nabble.com/Installing-gnuradio-when-Python-is-installed-at-custom-location-tp50165.html>
> Sent from the GnuRadio mailing list archive
> <http://gnuradio.4.n7.nabble.com/> at Nabble.com.
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=50166&i=1>
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=50166&i=2>
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
>
> http://gnuradio.4.n7.nabble.com/Installing-gnuradio-when-Python-is-installed-at-custom-location-tp50165p50166.html
>
> To unsubscribe from Installing gnuradio when Python is installed at
> custom location, click here.
> NAML
>
> <http://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> ------------------------------------------------------------------------
> View this message in context: Re: Installing gnuradio when Python is
> installed at custom location
> <http://gnuradio.4.n7.nabble.com/Installing-gnuradio-when-Python-is-installed-at-custom-location-tp50165p50167.html>
> Sent from the GnuRadio mailing list archive
> <http://gnuradio.4.n7.nabble.com/> at Nabble.com.
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
- Re: [Discuss-gnuradio] Installing gnuradio when Python is installed at custom location,
Martin Braun <=