Re: [Discuss-gnuradio] Cannot import gnuradio !

2014-05-23 Thread mohamedx
I've found a post on same issue under the same title: http://gnuradio.4.n7.nabble.com/Cannot-import-gnuradio-td42045.html I tried to load the configuration by "ldconfig" after setting the path varaiables, and it works perfectly now. -- View this message in context: http://gnuradio.4.n7.nabble.c

Re: [Discuss-gnuradio] Cannot import gnuradio !

2014-05-22 Thread mohamedx
Well, I've built it from the source code 3.7.3 and I kept the default path (i.e. /usr/local). Moreover, my system knows perfectly the command lines concerning gnuradio (e.g. gnuradio-companion, gr_modtool) but he crashes when I attempt to execute any of those commands. Is there anything else you wa

Re: [Discuss-gnuradio] Cannot import gnuradio !

2014-05-22 Thread Martin Braun
On 05/22/2014 04:03 PM, mohamedx wrote: > Hi everyone, > > Finally, I've succeded to install the gnuradio 3.7.3 on fedora 20, even if > it was my second time that I build it on fedora 20 ! > However, I've one more issue which concerns the importation of gnuradio, I > receive this kind of error mes

[Discuss-gnuradio] Cannot import gnuradio !

2014-05-22 Thread mohamedx
Hi everyone, Finally, I've succeded to install the gnuradio 3.7.3 on fedora 20, even if it was my second time that I build it on fedora 20 ! However, I've one more issue which concerns the importation of gnuradio, I receive this kind of error message: Cannot import gnuradio. I tried the following

[Discuss-gnuradio] Cannot import gnuradio

2013-06-28 Thread Liang Xian Loong
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 lib

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-20 Thread Favati
I find it's vastly more convenient to do that stuff in my .bashrc than to type it manually every time I start a shell or launch a command... sure, but before making changes to my .bashrc, i usually try the manual way before. Have you tried "sudo ldconfig"? yes, but i get the same error.

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-20 Thread Marcus D. Leech
On 06/20/2013 02:06 AM, Favati wrote: Il 19/06/2013 20:06, Marcus Leech ha scritto: Hmm, is PYTHONPATH marked for *export* in your .bashrc? Why? I use the export at the command prompt (and yes...i try to launch the gnuradio companion in the same shell). I'll try to put PYTHONPATH in .bashrc

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-19 Thread Favati
Il 19/06/2013 20:06, Marcus Leech ha scritto: Hmm, is PYTHONPATH marked for *export* in your .bashrc? Why? I use the export at the command prompt (and yes...i try to launch the gnuradio companion in the same shell). I'll try to put PYTHONPATH in .bashrc...but i don't think it should make an

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-19 Thread Marcus Leech
I'll point out that build-gnuradio uses sudo ldconfig judiciously, to deal with this issue...     on Jun 19, 2013, Josh Blum wrote: On 06/19/2013 08:57 AM, Marcus D. Leech wrote:> On 06/19/2013 02:22 AM, Favati wrote:>> Il 15/06/2013 13:02, Tanaga Biru ha scritto:>>> Dear Helper,>> I had insta

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-19 Thread Josh Blum
On 06/19/2013 08:57 AM, Marcus D. Leech wrote: > On 06/19/2013 02:22 AM, Favati wrote: >> Il 15/06/2013 13:02, Tanaga Biru ha scritto: >>> Dear Helper, >>> >>> I had installed GNU Radio, but when I run gnuradio-companion in Ubuntu >>> Terminal, I received the following message: >>> >>> *Cannot i

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-19 Thread Marcus Leech
Hmm, is PYTHONPATH marked for *export* in your .bashrc?     on Jun 19, 2013, Favati wrote: > If you open up a terminal window and type:>> echo $PYTHONPATH>> What do you get?/usr/local/lib/python2.7/dist-packages>> Do you have Python2.7 installed? What is actually in directory> /usr/local/lib/pytho

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-19 Thread Favati
If you open up a terminal window and type: echo $PYTHONPATH What do you get? /usr/local/lib/python2.7/dist-packages Do you have Python2.7 installed?What is actually in directory /usr/local/lib/python2.7/dist-packages? - yes cd /usr/local/lib/python2.7/dist-packages ls -l michele@W

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-19 Thread Marcus D. Leech
On 06/19/2013 02:22 AM, Favati wrote: Il 15/06/2013 13:02, Tanaga Biru ha scritto: Dear Helper, I had installed GNU Radio, but when I run gnuradio-companion in Ubuntu Terminal, I received the following message: *Cannot import gnuradio.* *Is the python path environment variable set correctly?

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-18 Thread Favati
Il 15/06/2013 13:02, Tanaga Biru ha scritto: Dear Helper, I had installed GNU Radio, but when I run gnuradio-companion in Ubuntu Terminal, I received the following message: *Cannot import gnuradio.* *Is the python path environment variable set correctly? * *All OS: PYTHONPATH* * * *Is the lib

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-15 Thread Arturo Rinaldi
Nella citazione in data sab 15 giu 2013 17:36:52 CEST, swrangsar basumatary ha scritto: hi, this can happen if you forget to do: sudo ldconfig On Sat, Jun 15, 2013 at 4:32 PM, Tanaga Biru mailto:tanagab...@gmail.com>> wrote: Dear Helper, I had installed GNU Radio, but when I run

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-15 Thread swrangsar basumatary
hi, this can happen if you forget to do: sudo ldconfig On Sat, Jun 15, 2013 at 4:32 PM, Tanaga Biru wrote: > Dear Helper, > > I had installed GNU Radio, but when I run gnuradio-companion in Ubuntu > Terminal, I received the following message: > > *Cannot import gnuradio.* > > *Is the pyth

Re: [Discuss-gnuradio] Cannot import gnuradio

2013-06-15 Thread Arturo Rinaldi
Il 15/06/13 13:02, Tanaga Biru ha scritto: Dear Helper, I had installed GNU Radio, but when I run gnuradio-companion in Ubuntu Terminal, I received the following message: *Cannot import gnuradio.* *Is the python path environment variable set correctly? * *All OS: PYTHONPATH* * * *Is the lib

[Discuss-gnuradio] Cannot import gnuradio

2013-06-15 Thread Tanaga Biru
Dear Helper, I had installed GNU Radio, but when I run gnuradio-companion in Ubuntu 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?*

Re: [Discuss-gnuradio] Cannot Import GNURadio Error With Ettus deb Package and Ubuntu 12.04

2012-06-25 Thread Daniel Labarowski
Nicholas, I'm not finding anything related to gnuradio in /usr/lib, although the file names may not be obvious. Is there anything else I should try? Does the deb package take care of dependencies? I was expecting it to but I don't believe dpkg installed any dependencies. If the deb does not handle

Re: [Discuss-gnuradio] Cannot Import GNURadio Error With Ettus deb Package and Ubuntu 12.04

2012-06-25 Thread Nicholas Corgan
You shouldn't need to set any of those variables manually. By default, your system looks at /usr/lib for libraries, and all of our libraries are stored there. On 06/25/2012 08:09 AM, Daniel Labarowski wrote: Thanks jim. Not sure how I didn't realize that. Seems all to obvious now. Nicholas, y

Re: [Discuss-gnuradio] Cannot Import GNURadio Error With Ettus deb Package and Ubuntu 12.04

2012-06-25 Thread Daniel Labarowski
Thanks jim. Not sure how I didn't realize that. Seems all to obvious now. Nicholas, you were right about python 2.7. I made a type and put 2.6. However, I'm still getting the same error from grc. Perhaps the LD_LIBRARY_PATH is the issue? I can't seem to find what I should set this path to based on

Re: [Discuss-gnuradio] Cannot Import GNURadio Error With Ettus deb Package and Ubuntu 12.04

2012-06-25 Thread Nicholas Corgan
Daniel, while it's also the case that you are referring to a different version of Python, our installers install to /usr/lib/python2.7/dist-packages instead of /usr/local. On 06/25/2012 07:51 AM, ki6njf wrote: Dan, typing $PYTHONPATH at the command line will give an error, bash is trying to

Re: [Discuss-gnuradio] Cannot Import GNURadio Error With Ettus deb Package and Ubuntu 12.04

2012-06-25 Thread ki6njf
Dan, typing $PYTHONPATH at the command line will give an error, bash is trying to execute it. use: echo $PYTHONPATH instead. Ubuntu 12.04 is using: /usr/local/lib/python2.7/dist-packages instead of python2.6 73s jim On Monday, June 25, 2012 10:37:46 AM Daniel Labarowski wrote: Hello, I i

Re: [Discuss-gnuradio] Cannot Import GNURadio Error With Ettus deb Package and Ubuntu 12.04

2012-06-25 Thread Nicholas Corgan
The gnuradio.org page you linked to describes how to install GNU Radio from source, which, by default, installs to /usr/local. /opt is given as an example for another occasionally used install prefix. Our installers install to /usr, so the relevant Python files would indeed be installed to /us

[Discuss-gnuradio] Cannot Import GNURadio Error With Ettus deb Package and Ubuntu 12.04

2012-06-25 Thread Daniel Labarowski
Hello, I installed GNURadio using the deb package Ettus distributes here. I'm using Ubuntu 12.04 64 bit. The install seems to work properly but when I try to open GNURadio companion I get a Cannot import GNURadio error. This