Re: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

2018-06-22 Thread Derek Kozel
Hi Evans,

I believe the current GNU Radio installer on Windows includes its own full
local copy of Python. You will have to use that version of Python whenever
you are using GNU Radio. I don't have a Windows machine running at the
moment to check, but I believe that there are scripts included with the
installation for launching that Python environment.

Regards,
Derek

On Fri, Jun 22, 2018 at 3:43 PM, Müller, Marcus (CEL) 
wrote:

> Hi Evans,
>
> Just for clarification:
>
> You did install GNU Radio on your windows, right?
>
> Best regards,
> Marcus
>
> On Thu, 2018-06-21 at 08:37 +0300, evans ryanada wrote:
> > i am trying to run a .py file generated from GRC 3.7.11 but am getting
> an error...displaying the following message..
> >
> > C:\Users\production\Desktop\flexsdr>gps-sdr-sim-uhd.py
> > Traceback (most recent call last):
> >   File "C:\Users\production\Desktop\flexsdr\gps-sdr-sim-uhd.py", line
> 6, in  > ule>
> > from gnuradio import blocks
> > ImportError: No module named 'gnuradio'
> >
> > i have installed python 2.7.15 on my pc which runs on windows 8
> >
> > what could be the problem?
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

2018-06-22 Thread CEL
Hi Evans,

Just for clarification: 

You did install GNU Radio on your windows, right?

Best regards,
Marcus

On Thu, 2018-06-21 at 08:37 +0300, evans ryanada wrote:
> i am trying to run a .py file generated from GRC 3.7.11 but am getting an 
> error...displaying the following message..
> 
> C:\Users\production\Desktop\flexsdr>gps-sdr-sim-uhd.py
> Traceback (most recent call last):
>   File "C:\Users\production\Desktop\flexsdr\gps-sdr-sim-uhd.py", line 6, in 
>  ule>
> from gnuradio import blocks
> ImportError: No module named 'gnuradio'
> 
> i have installed python 2.7.15 on my pc which runs on windows 8
> 
> what could be the problem?
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

smime.p7s
Description: S/MIME cryptographic signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

2018-06-22 Thread Kyeong Su Shin
Hello Evans:


As the error message says, your Python binary is not seeing the Python module 
named 'gnuradio'. It simply does not have right libraries to run your Python 
code.


If you installed the Windows distribution of GNU Radio, one thing that you must 
note is the fact that the distribution uses its own Python binary and 
libraries. It will not touch other Python installations on your PC, and use its 
own copy of CPython for the operation. The easiest workaround in such 
situations would be running your Python code on the GNU Radio Command Prompt, 
not on the default Windows command prompt. In that way, you can use the Python 
binary installed and used by your GNU Radio distribution to execute your code.

Regards,

Kyeong Su Shin



보낸 사람: evans ryanada  대신 Discuss-gnuradio 

보낸 날짜: 2018년 6월 21일 목요일 오후 2:37:21
받는 사람: discuss-gnuradio@gnu.org
제목: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

i am trying to run a .py file generated from GRC 3.7.11 but am getting an 
error...displaying the following message..

C:\Users\production\Desktop\flexsdr>gps-sdr-sim-uhd.py
Traceback (most recent call last):
  File "C:\Users\production\Desktop\flexsdr\gps-sdr-sim-uhd.py", line 6, in 
from gnuradio import blocks
ImportError: No module named 'gnuradio'

i have installed python 2.7.15 on my pc which runs on windows 8

what could be the problem?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

2018-06-22 Thread Kyeong Su Shin
Hello Evans:


(Also, if you haven't installed the Windows distribution of GNU Radio, get it 
from here: http://www.gcndevelopment.com/gnuradio/downloads.htm . Then you can 
use the GNU Radio command prompt to execute your Python code.)


Regards,
Kyeong Su Shin



보낸 사람: Kyeong Su Shin
보낸 날짜: 2018년 6월 22일 금요일 오후 11:30:05
받는 사람: evans ryanada; discuss-gnuradio@gnu.org
제목: RE: [Discuss-gnuradio] ImportError: No module named 'gnuradio'


Hello Evans:


As the error message says, your Python binary is not seeing the Python module 
named 'gnuradio'. It simply does not have right libraries to run your Python 
code.


If you installed the Windows distribution of GNU Radio, one thing that you must 
note is the fact that the distribution uses its own Python binary and 
libraries. It will not touch other Python installations on your PC, and use its 
own copy of CPython for the operation. The easiest workaround in such 
situations would be running your Python code on the GNU Radio Command Prompt, 
not on the default Windows command prompt. In that way, you can use the Python 
binary installed and used by your GNU Radio distribution to execute your code.

Regards,

Kyeong Su Shin



보낸 사람: evans ryanada  대신 Discuss-gnuradio 

보낸 날짜: 2018년 6월 21일 목요일 오후 2:37:21
받는 사람: discuss-gnuradio@gnu.org
제목: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

i am trying to run a .py file generated from GRC 3.7.11 but am getting an 
error...displaying the following message..

C:\Users\production\Desktop\flexsdr>gps-sdr-sim-uhd.py
Traceback (most recent call last):
  File "C:\Users\production\Desktop\flexsdr\gps-sdr-sim-uhd.py", line 6, in 
from gnuradio import blocks
ImportError: No module named 'gnuradio'

i have installed python 2.7.15 on my pc which runs on windows 8

what could be the problem?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] ImportError: No module named 'gnuradio'

2018-06-20 Thread evans ryanada
i am trying to run a .py file generated from GRC 3.7.11 but am getting an
error...displaying the following message..

C:\Users\production\Desktop\flexsdr>gps-sdr-sim-uhd.py
Traceback (most recent call last):
  File "C:\Users\production\Desktop\flexsdr\gps-sdr-sim-uhd.py", line 6, in

from gnuradio import blocks
ImportError: No module named 'gnuradio'

i have installed python 2.7.15 on my pc which runs on windows 8

what could be the problem?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2011-04-05 Thread Mateusz Jasiński
On Tuesday 05 of April 2011 09:06:10 Sim IJskes wrote:
> On 05-04-11 00:42, Mateusz Jasiński wrote:
> > On Monday 04 of April 2011 15:48:26 Mateusz Jasiński wrote:
> >> On Monday 04 of April 2011 09:55:25 Martin Braun wrote:
> >>> On Sat, Apr 02, 2011 at 09:19:00PM +0200, Mateusz Jasiński wrote:
>  Hi,
>  
>  I'm trying to build debian packages of gnuradio git snapshot
>  (01.04.2011). The build process is successful but I've encountered
> > 
> > Now I'll try to somehow push those upstream packages into debian, since
> > the 3.2.2 is much outdated.
> 
> Did you coordinate with the debian gnuradio maintainer? I'm currently
> working on the 3.3.1 version of debian gnuradio started by the original
> maintainer. Please let us know how things go. If you run into troubles
> with debian (not) accepting your packaging, we could coordinate in order
> to get the package accepted via the original maintainer.
> 
> Gr. Sim

Yes, I've done this already. Sent him the debian dir. I;ve also packaged 
libuhd needed by upstream. I've received confirmation mail saying:

"Thanks.  I'm traveling this week, but I should have time to review your
work in a few days.

Bdale"

I've tried to bulid external signal processing blocks and had to add the *.i 
files to the libgnuradio-core-dev package. I'll sent the updated version to the 
mainteiner.
-- 
Mateusz Jasiński

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2011-04-05 Thread Sim IJskes

On 05-04-11 00:42, Mateusz Jasiński wrote:

On Monday 04 of April 2011 15:48:26 Mateusz Jasiński wrote:

On Monday 04 of April 2011 09:55:25 Martin Braun wrote:

On Sat, Apr 02, 2011 at 09:19:00PM +0200, Mateusz Jasiński wrote:

Hi,

I'm trying to build debian packages of gnuradio git snapshot
(01.04.2011). The build process is successful but I've encountered



Now I'll try to somehow push those upstream packages into debian, since the
3.2.2 is much outdated.


Did you coordinate with the debian gnuradio maintainer? I'm currently 
working on the 3.3.1 version of debian gnuradio started by the original 
maintainer. Please let us know how things go. If you run into troubles 
with debian (not) accepting your packaging, we could coordinate in order 
to get the package accepted via the original maintainer.


Gr. Sim

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2011-04-04 Thread Mateusz Jasiński
On Monday 04 of April 2011 15:48:26 Mateusz Jasiński wrote:
> On Monday 04 of April 2011 09:55:25 Martin Braun wrote:
> > On Sat, Apr 02, 2011 at 09:19:00PM +0200, Mateusz Jasiński wrote:
> > > Hi,
> > > 
> > > I'm trying to build debian packages of gnuradio git snapshot
> > > (01.04.2011). The build process is successful but I've encountered
> > > python related problem after installing the packages - gnuradio python
> > > module is missing, so none of the examples nor gnuradio-companion
> > > doesn't work. The error is:
> > > 
> > > ImportError: No module named gnuradio
> > > 
> > > I've checked the PYTHONPATH variable, and set it to:
> > > 
> > > [matt@debian ~]$ echo $PYTHONPATH
> > > /usr/lib/python2.6/dist-packages:/usr/lib/python2.6:/usr/lib/python2.6/
> > > pl at- linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-
> > > old:/usr/lib/python2.6/lib-dynload:/usr/local/lib/python2.6/dist-
> > > packages:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/lib/python2.6/dist-
> > > packages/gtk-2.0:/usr/lib/pymodules/python2.6
> > > 
> > > Main gnuradio related file locations are listed in the attached
> > > installed_files.log
> > 
> > Hi Mateusz,
> > 
> > how did you install? If you locally compiled a git snapshot, the stuff
> > *should* end up in /usr/local/lib/python2.6/dist-packages.
> > 
> > Other things you should check: is
> > /usr/lib/python2.6/dist-packages/gnuradio world-readable? I've lost a lot
> > of nerves to the fact that one machine I was testing stuff on had a
> > screwed-up 'umask' setting and I had ended up installing everything
> > readable only for root.
> > 
> > MB
> 
> Hi Martin,
> 
> I've installed by the packages that I've built. The standard configure --
> prefix=/usr There is a slight probability that some files are missing after
> the installation. Could you please refer to my installed_files.log
> attached to this message and try to check if all required by
> gnuradio-companion modules are installed properly? Oh, and running
> gnuradio-companion as root fails as for normal user.

Managed to fiure it out.

It was a file missing related problem ;] - /usr/lib/python2.6/dist-
packages/gnuradio/__init__.py .

Now I'll try to somehow push those upstream packages into debian, since the 
3.2.2 is much outdated.
-- 
Mateusz Jasiński

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2011-04-04 Thread Mateusz Jasiński
On Monday 04 of April 2011 09:55:25 Martin Braun wrote:
> On Sat, Apr 02, 2011 at 09:19:00PM +0200, Mateusz Jasiński wrote:
> > Hi,
> > 
> > I'm trying to build debian packages of gnuradio git snapshot
> > (01.04.2011). The build process is successful but I've encountered
> > python related problem after installing the packages - gnuradio python
> > module is missing, so none of the examples nor gnuradio-companion
> > doesn't work. The error is:
> > 
> > ImportError: No module named gnuradio
> > 
> > I've checked the PYTHONPATH variable, and set it to:
> > 
> > [matt@debian ~]$ echo $PYTHONPATH
> > /usr/lib/python2.6/dist-packages:/usr/lib/python2.6:/usr/lib/python2.6/pl
> > at- linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-
> > old:/usr/lib/python2.6/lib-dynload:/usr/local/lib/python2.6/dist-
> > packages:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/lib/python2.6/dist-
> > packages/gtk-2.0:/usr/lib/pymodules/python2.6
> > 
> > Main gnuradio related file locations are listed in the attached
> > installed_files.log
> 
> Hi Mateusz,
> 
> how did you install? If you locally compiled a git snapshot, the stuff
> *should* end up in /usr/local/lib/python2.6/dist-packages.
> 
> Other things you should check: is
> /usr/lib/python2.6/dist-packages/gnuradio world-readable? I've lost a lot
> of nerves to the fact that one machine I was testing stuff on had a
> screwed-up 'umask' setting and I had ended up installing everything
> readable only for root.
> 
> MB

Hi Martin,

I've installed by the packages that I've built. The standard configure --
prefix=/usr There is a slight probability that some files are missing after the 
installation. Could you please refer to my installed_files.log attached to this 
message and try to check if all required by gnuradio-companion modules are 
installed properly? Oh, and running gnuradio-companion as root fails as for 
normal user.
-- 
Mateusz Jasiński
/.
/etc
/etc/gnuradio
/etc/gnuradio/conf.d
/etc/gnuradio/conf.d/gnuradio-core.conf
/usr
/usr/lib
/usr/lib/libgnuradio-core.la
/usr/lib/libgnuradio-core-3.4.0git.so.0.0.0
/usr/share
/usr/share/doc
/usr/share/doc/libgnuradio-core0
/usr/share/doc/libgnuradio-core0/changelog.Debian.gz
/usr/share/doc/libgnuradio-core0/changelog.gz
/usr/share/doc/libgnuradio-core0/copyright
/usr/lib/libgnuradio-core-3.4.0git.so.0
/.
/usr
/usr/lib
/usr/lib/python2.6
/usr/lib/python2.6/dist-packages
/usr/lib/python2.6/dist-packages/gnuradio
/usr/lib/python2.6/dist-packages/gnuradio/blks2
/usr/lib/python2.6/dist-packages/gnuradio/blks2/__init__.py
/usr/lib/python2.6/dist-packages/gnuradio/ofdm_packet_utils.py
/usr/lib/python2.6/dist-packages/gnuradio/gr_unittest.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/hexint.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/sdr_1000.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/os_read_exactly.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/msgq_runner.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/gnuplot_freqz.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/crc.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/__init__.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/daemon.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/mathmisc.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/lmx2306.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/seq_with_cursor.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/listmisc.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/socket_stuff.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/freqz.py
/usr/lib/python2.6/dist-packages/gnuradio/gr
/usr/lib/python2.6/dist-packages/gnuradio/gr/gr_threading.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gr_threading_24.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/pubsub.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_filter.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/gr_threading_23.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_filter.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_io.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_general.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/prefs.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_gengen.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/__init__.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_hier.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/exceptions.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_general.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_io.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_runtime.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/hier_block2.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_gengen.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/top_block.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py
/usr

Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2011-04-04 Thread Martin Braun
On Sat, Apr 02, 2011 at 09:19:00PM +0200, Mateusz Jasiński wrote:
> Hi,
> 
> I'm trying to build debian packages of gnuradio git snapshot (01.04.2011). 
> The 
> build process is successful but I've encountered python related problem after 
> installing the packages - gnuradio python module is missing, so none of the 
> examples nor gnuradio-companion doesn't work. The error is:
> 
> ImportError: No module named gnuradio
> 
> I've checked the PYTHONPATH variable, and set it to:
> 
> [matt@debian ~]$ echo $PYTHONPATH
> /usr/lib/python2.6/dist-packages:/usr/lib/python2.6:/usr/lib/python2.6/plat-
> linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-
> old:/usr/lib/python2.6/lib-dynload:/usr/local/lib/python2.6/dist-
> packages:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/lib/python2.6/dist-
> packages/gtk-2.0:/usr/lib/pymodules/python2.6
> 
> Main gnuradio related file locations are listed in the attached 
> installed_files.log

Hi Mateusz,

how did you install? If you locally compiled a git snapshot, the stuff
*should* end up in /usr/local/lib/python2.6/dist-packages.

Other things you should check: is
/usr/lib/python2.6/dist-packages/gnuradio world-readable? I've lost a lot
of nerves to the fact that one machine I was testing stuff on had a
screwed-up 'umask' setting and I had ended up installing everything
readable only for root.

MB

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association



pgpmMhClDICHH.pgp
Description: PGP signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] ImportError: No module named gnuradio

2011-04-02 Thread Mateusz Jasiński
Hi,

I'm trying to build debian packages of gnuradio git snapshot (01.04.2011). The 
build process is successful but I've encountered python related problem after 
installing the packages - gnuradio python module is missing, so none of the 
examples nor gnuradio-companion doesn't work. The error is:

ImportError: No module named gnuradio

I've checked the PYTHONPATH variable, and set it to:

[matt@debian ~]$ echo $PYTHONPATH
/usr/lib/python2.6/dist-packages:/usr/lib/python2.6:/usr/lib/python2.6/plat-
linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-
old:/usr/lib/python2.6/lib-dynload:/usr/local/lib/python2.6/dist-
packages:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/lib/python2.6/dist-
packages/gtk-2.0:/usr/lib/pymodules/python2.6

Main gnuradio related file locations are listed in the attached 
installed_files.log

Any help?

Regards,
-- 
Mateusz Jasiński
libgnuradio-core:
---
/etc
/etc/gnuradio
/etc/gnuradio/conf.d
/etc/gnuradio/conf.d/gnuradio-core.conf
/usr
/usr/lib
/usr/lib/libgnuradio-core.la
/usr/lib/libgnuradio-core-3.4.0git.so.0.0.0
/usr/share
/usr/share/doc
/usr/share/doc/libgnuradio-core0
/usr/share/doc/libgnuradio-core0/changelog.Debian.gz
/usr/share/doc/libgnuradio-core0/changelog.gz
/usr/share/doc/libgnuradio-core0/copyright
/usr/lib/libgnuradio-core-3.4.0git.so.0

python-gnuradio-core:
---
/usr
/usr/lib
/usr/lib/python2.6
/usr/lib/python2.6/dist-packages
/usr/lib/python2.6/dist-packages/gnuradio
/usr/lib/python2.6/dist-packages/gnuradio/blks2
/usr/lib/python2.6/dist-packages/gnuradio/blks2/__init__.py
/usr/lib/python2.6/dist-packages/gnuradio/ofdm_packet_utils.py
/usr/lib/python2.6/dist-packages/gnuradio/gr_unittest.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/hexint.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/sdr_1000.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/os_read_exactly.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/msgq_runner.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/gnuplot_freqz.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/crc.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/__init__.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/daemon.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/mathmisc.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/lmx2306.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/seq_with_cursor.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/listmisc.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/socket_stuff.py
/usr/lib/python2.6/dist-packages/gnuradio/gruimpl/freqz.py
/usr/lib/python2.6/dist-packages/gnuradio/gr
/usr/lib/python2.6/dist-packages/gnuradio/gr/gr_threading.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_runtime.la
/usr/lib/python2.6/dist-packages/gnuradio/gr/gr_threading_24.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/pubsub.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_filter.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_io.la
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_filter.la
/usr/lib/python2.6/dist-packages/gnuradio/gr/gr_threading_23.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_filter.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_io.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_general.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/prefs.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_gengen.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/__init__.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_hier.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/exceptions.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_general.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_io.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_runtime.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/hier_block2.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_gengen.so
/usr/lib/python2.6/dist-packages/gnuradio/gr/top_block.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_hier.py
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_hier.la
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_general.la
/usr/lib/python2.6/dist-packages/gnuradio/gr/_gnuradio_core_gengen.la
/usr/lib/python2.6/dist-packages/gnuradio/modulation_utils2.py
/usr/lib/python2.6/dist-packages/gnuradio/usrp_options.py
/usr/lib/python2.6/dist-packages/gnuradio/modulation_utils.py
/usr/lib/python2.6/dist-packages/gnuradio/vocoder
/usr/lib/python2.6/dist-packages/gnuradio/vocoder/__init__.py
/usr/lib/python2.6/dist-packages/gnuradio/gru
/usr/lib/python2.6/dist-packages/gnuradio/gru/__init__.py
/usr/lib/python2.

Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2007-12-10 Thread Eric Blossom
On Mon, Dec 10, 2007 at 01:51:16AM -0800, Fasika Alemayehu wrote:
> I am using a 64 bit machine and I have build the gnuradio from the directory  
> /usr/Nett/users/fass/gnuradio. There is a folder lib64 in /usr directory but 
> it doesnt contain the python packages.
> 
> and in the python sys.path is 
> >>> path
> ['', '/usr/lib/python25.zip', '/usr/lib/python2.5', 
> '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', 
> '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', 
> '/usr/lib/python2.5/site-packages', 
> '/usr/lib/python2.5/site-packages/Numeric', 
> '/usr/lib/python2.5/site-packages/gst-0.10', 
> '/var/lib/python-support/python2.5', 
> '/usr/lib/python2.5/site-packages/gtk-2.0', 
> '/var/lib/python-support/python2.5/gtk-2.0', 
> '/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode']
> >>> 
> [EMAIL PROTECTED]:~$ export PYTHONPATH=/usr/lib/python2.5/site-packages
> [EMAIL PROTECTED]:~$ ls -lR $PYTHONPATH/gnuradio/gr
>  ls: /gnuradio/gr: No such file or directory
>  [EMAIL PROTECTED]:~$ 

Have you looked in /usr/local/lib64/python2.5/site-packages ?

On my 64-bit machine, that's what I set PYTHONPATH to.

Eric


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2007-12-10 Thread Fasika Alemayehu
I am using a 64 bit machine and I have build the gnuradio from the directory  
/usr/Nett/users/fass/gnuradio. There is a folder lib64 in /usr directory but it 
doesnt contain the python packages.

and in the python sys.path is 
>>> path
['', '/usr/lib/python25.zip', '/usr/lib/python2.5', 
'/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', 
'/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', 
'/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', 
'/usr/lib/python2.5/site-packages/gst-0.10', 
'/var/lib/python-support/python2.5', 
'/usr/lib/python2.5/site-packages/gtk-2.0', 
'/var/lib/python-support/python2.5/gtk-2.0', 
'/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode']
>>> 
[EMAIL PROTECTED]:~$ export PYTHONPATH=/usr/lib/python2.5/site-packages
[EMAIL PROTECTED]:~$ ls -lR $PYTHONPATH/gnuradio/gr
 ls: /gnuradio/gr: No such file or directory
 [EMAIL PROTECTED]:~$ 
 

Best ,

Fasika

Eric Blossom <[EMAIL PROTECTED]> wrote: On Fri, Dec 07, 2007 at 08:20:14AM 
-0800, Fasika Alemayehu wrote:
> Hi All ,

> I have just installed gnuradio and it was successful. But when i
> tried to run the gnuradio-examples, i get the error message
> 'ImportError: No module named gnuradio'. I have changed the
> PYTHONPATH to the directory where python is installed but it is not
> working. I have installed gnuradio in a different folder
> i.e. /usr/Nett/users/fass/gnuradio whereas the python directory is
> /usr/lib/python2.5/site-packages. Could that be a problem ?

> Here is the error 
> [EMAIL PROTECTED]:~$ export PYTHONPATH=/usr/lib/python2.5/site-packages
> [EMAIL PROTECTED]:~/gnuradio/gnuradio-examples/python/network$ 
> ./dial_tone_source.py
> Traceback (most recent call last):
>   File "./dial_tone_source.py", line 23, in 
> from gnuradio import gr
> ImportError: No module named gnuradio
> 
> >>> 
> 
> Regards,
> 
> Fasika 

You need to set PYTHONPATH to reflect the prefix you used during
configuration (default /usr/local).  What --prefix did you use?

Did you build from  /usr/Nett/users/fass/gnuradio or did you install
into there?

Are you running on a 64-bit machine?  If so your python path needs to
contain lib64, not lib.

If you type this command, do you get similar output?

$ ls -lR $PYTHONPATH/gnuradio/gr


/usr/local/lib/python2.5/site-packages/gnuradio/gr:
total 10332
-rw-r--r-- 1 eb wheel9924 2007-11-29 11:51 basic_flow_graph.py
-rw-rw-r-- 1 eb wheel   12064 2007-11-29 11:51 basic_flow_graph.pyc
-rw-rw-r-- 1 eb wheel   12064 2007-11-29 11:51 basic_flow_graph.pyo
-rw-r--r-- 1 eb wheel 922 2007-11-29 11:51 exceptions.py
-rw-rw-r-- 1 eb wheel 648 2007-11-29 11:51 exceptions.pyc
-rw-rw-r-- 1 eb wheel 648 2007-11-29 11:51 exceptions.pyo
-rw-r--r-- 1 eb wheel8376 2007-11-29 11:51 flow_graph.py
-rw-rw-r-- 1 eb wheel8535 2007-11-29 11:51 flow_graph.pyc
-rw-rw-r-- 1 eb wheel8535 2007-11-29 11:51 flow_graph.pyo
-rwxr-xr-x 1 eb wheel 995 2007-11-29 14:41 _gnuradio_swig_py_filter.la
-rw-r--r-- 1 eb wheel  142581 2007-11-29 14:41 gnuradio_swig_py_filter.py
-rw-rw-r-- 1 eb wheel  234609 2007-11-29 14:41 gnuradio_swig_py_filter.pyc
-rw-rw-r-- 1 eb wheel  234609 2007-11-29 14:41 gnuradio_swig_py_filter.pyo
-rwxr-xr-x 1 eb wheel  769545 2007-11-29 14:41 _gnuradio_swig_py_filter.so
-rwxr-xr-x 1 eb wheel1001 2007-11-29 14:41 _gnuradio_swig_py_general.la
-rw-r--r-- 1 eb wheel  415785 2007-11-29 14:41 gnuradio_swig_py_general.py
-rw-rw-r-- 1 eb wheel  696121 2007-11-29 14:41 gnuradio_swig_py_general.pyc
-rw-rw-r-- 1 eb wheel  696121 2007-11-29 14:41 gnuradio_swig_py_general.pyo
-rwxr-xr-x 1 eb wheel 2201772 2007-11-29 14:41 _gnuradio_swig_py_general.so
-rwxr-xr-x 1 eb wheel 995 2007-11-29 14:41 _gnuradio_swig_py_gengen.la
-rw-r--r-- 1 eb wheel  330184 2007-11-29 14:41 gnuradio_swig_py_gengen.py
-rw-rw-r-- 1 eb wheel  565143 2007-11-29 14:41 gnuradio_swig_py_gengen.pyc
-rw-rw-r-- 1 eb wheel  565143 2007-11-29 14:41 gnuradio_swig_py_gengen.pyo
-rwxr-xr-x 1 eb wheel 1732939 2007-11-29 14:41 _gnuradio_swig_py_gengen.so
-rwxr-xr-x 1 eb wheel 971 2007-11-29 14:41 _gnuradio_swig_py_io.la
-rw-r--r-- 1 eb wheel   45656 2007-11-29 14:41 gnuradio_swig_py_io.py
-rw-rw-r-- 1 eb wheel   79230 2007-11-29 14:41 gnuradio_swig_py_io.pyc
-rw-rw-r-- 1 eb wheel   79230 2007-11-29 14:41 gnuradio_swig_py_io.pyo
-rwxr-xr-x 1 eb wheel  259571 2007-11-29 14:41 _gnuradio_swig_py_io.so
-rwxr-xr-x 1 eb wheel1001 2007-11-29 14:41 _gnuradio_swig_py_runtime.la
-rw-r--r-- 1 eb wheel   66203 2007-11-29 14:41 gnuradio_swig_py_runtime.py
-rw-rw-r-- 1 eb wheel  111334 2007-11-29 14:41 gnuradio_swig_py_runtime.pyc
-rw-rw-r-- 1 eb wheel  111334 2007-11-29 14:41 gnuradio_swig_py_runtime.pyo
-rw-r--r-- 1 eb wheel1028 2007-11-29 14:41 gnuradio_swig_python.py
-rw-rw-r-- 1 eb wheel 373 2007-11-29 14:41 g

Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2007-12-09 Thread Eric Blossom
On Fri, Dec 07, 2007 at 08:20:14AM -0800, Fasika Alemayehu wrote:
> Hi All ,

> I have just installed gnuradio and it was successful. But when i
> tried to run the gnuradio-examples, i get the error message
> 'ImportError: No module named gnuradio'. I have changed the
> PYTHONPATH to the directory where python is installed but it is not
> working. I have installed gnuradio in a different folder
> i.e. /usr/Nett/users/fass/gnuradio whereas the python directory is
> /usr/lib/python2.5/site-packages. Could that be a problem ?

> Here is the error 
> [EMAIL PROTECTED]:~$ export PYTHONPATH=/usr/lib/python2.5/site-packages
> [EMAIL PROTECTED]:~/gnuradio/gnuradio-examples/python/network$ 
> ./dial_tone_source.py
> Traceback (most recent call last):
>   File "./dial_tone_source.py", line 23, in 
> from gnuradio import gr
> ImportError: No module named gnuradio
> 
> >>> 
> 
> Regards,
> 
> Fasika 

You need to set PYTHONPATH to reflect the prefix you used during
configuration (default /usr/local).  What --prefix did you use?

Did you build from  /usr/Nett/users/fass/gnuradio or did you install
into there?

Are you running on a 64-bit machine?  If so your python path needs to
contain lib64, not lib.

If you type this command, do you get similar output?

$ ls -lR $PYTHONPATH/gnuradio/gr


/usr/local/lib/python2.5/site-packages/gnuradio/gr:
total 10332
-rw-r--r-- 1 eb wheel9924 2007-11-29 11:51 basic_flow_graph.py
-rw-rw-r-- 1 eb wheel   12064 2007-11-29 11:51 basic_flow_graph.pyc
-rw-rw-r-- 1 eb wheel   12064 2007-11-29 11:51 basic_flow_graph.pyo
-rw-r--r-- 1 eb wheel 922 2007-11-29 11:51 exceptions.py
-rw-rw-r-- 1 eb wheel 648 2007-11-29 11:51 exceptions.pyc
-rw-rw-r-- 1 eb wheel 648 2007-11-29 11:51 exceptions.pyo
-rw-r--r-- 1 eb wheel8376 2007-11-29 11:51 flow_graph.py
-rw-rw-r-- 1 eb wheel8535 2007-11-29 11:51 flow_graph.pyc
-rw-rw-r-- 1 eb wheel8535 2007-11-29 11:51 flow_graph.pyo
-rwxr-xr-x 1 eb wheel 995 2007-11-29 14:41 _gnuradio_swig_py_filter.la
-rw-r--r-- 1 eb wheel  142581 2007-11-29 14:41 gnuradio_swig_py_filter.py
-rw-rw-r-- 1 eb wheel  234609 2007-11-29 14:41 gnuradio_swig_py_filter.pyc
-rw-rw-r-- 1 eb wheel  234609 2007-11-29 14:41 gnuradio_swig_py_filter.pyo
-rwxr-xr-x 1 eb wheel  769545 2007-11-29 14:41 _gnuradio_swig_py_filter.so
-rwxr-xr-x 1 eb wheel1001 2007-11-29 14:41 _gnuradio_swig_py_general.la
-rw-r--r-- 1 eb wheel  415785 2007-11-29 14:41 gnuradio_swig_py_general.py
-rw-rw-r-- 1 eb wheel  696121 2007-11-29 14:41 gnuradio_swig_py_general.pyc
-rw-rw-r-- 1 eb wheel  696121 2007-11-29 14:41 gnuradio_swig_py_general.pyo
-rwxr-xr-x 1 eb wheel 2201772 2007-11-29 14:41 _gnuradio_swig_py_general.so
-rwxr-xr-x 1 eb wheel 995 2007-11-29 14:41 _gnuradio_swig_py_gengen.la
-rw-r--r-- 1 eb wheel  330184 2007-11-29 14:41 gnuradio_swig_py_gengen.py
-rw-rw-r-- 1 eb wheel  565143 2007-11-29 14:41 gnuradio_swig_py_gengen.pyc
-rw-rw-r-- 1 eb wheel  565143 2007-11-29 14:41 gnuradio_swig_py_gengen.pyo
-rwxr-xr-x 1 eb wheel 1732939 2007-11-29 14:41 _gnuradio_swig_py_gengen.so
-rwxr-xr-x 1 eb wheel 971 2007-11-29 14:41 _gnuradio_swig_py_io.la
-rw-r--r-- 1 eb wheel   45656 2007-11-29 14:41 gnuradio_swig_py_io.py
-rw-rw-r-- 1 eb wheel   79230 2007-11-29 14:41 gnuradio_swig_py_io.pyc
-rw-rw-r-- 1 eb wheel   79230 2007-11-29 14:41 gnuradio_swig_py_io.pyo
-rwxr-xr-x 1 eb wheel  259571 2007-11-29 14:41 _gnuradio_swig_py_io.so
-rwxr-xr-x 1 eb wheel1001 2007-11-29 14:41 _gnuradio_swig_py_runtime.la
-rw-r--r-- 1 eb wheel   66203 2007-11-29 14:41 gnuradio_swig_py_runtime.py
-rw-rw-r-- 1 eb wheel  111334 2007-11-29 14:41 gnuradio_swig_py_runtime.pyc
-rw-rw-r-- 1 eb wheel  111334 2007-11-29 14:41 gnuradio_swig_py_runtime.pyo
-rw-r--r-- 1 eb wheel1028 2007-11-29 14:41 gnuradio_swig_python.py
-rw-rw-r-- 1 eb wheel 373 2007-11-29 14:41 gnuradio_swig_python.pyc
-rw-rw-r-- 1 eb wheel 373 2007-11-29 14:41 gnuradio_swig_python.pyo
-rw-r--r-- 1 eb wheel   21922 2007-11-29 11:51 gr_threading_23.py
-rw-rw-r-- 1 eb wheel   26881 2007-11-29 11:51 gr_threading_23.pyc
-rw-rw-r-- 1 eb wheel   24171 2007-11-29 11:51 gr_threading_23.pyo
-rw-r--r-- 1 eb wheel   25507 2007-11-29 11:51 gr_threading_24.py
-rw-rw-r-- 1 eb wheel   27705 2007-11-29 11:51 gr_threading_24.pyc
-rw-rw-r-- 1 eb wheel   24995 2007-11-29 11:51 gr_threading_24.pyo
-rw-r--r-- 1 eb wheel1225 2007-11-29 11:51 gr_threading.py
-rw-rw-r-- 1 eb wheel 430 2007-11-29 11:51 gr_threading.pyc
-rw-rw-r-- 1 eb wheel 430 2007-11-29 11:51 gr_threading.pyo
-rw-r--r-- 1 eb wheel3340 2007-11-29 11:51 hier_block2.py
-rw-rw-r-- 1 eb wheel3197 2007-11-29 11:51 hier_block2.pyc
-rw-rw-r-- 1 eb wheel3197 2007-11-29 11:51 hier_block2.pyo
-rw-r--r-- 1 eb wheel4330 2007-11-29 11:51 hier_block.py
-rw-

Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2007-12-09 Thread Fasika Alemayehu
Yes , I did "sudo make install" when i was installing the gnuradio. Sitll I 
couldnt figure out the problem. 

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2007-12-08 Thread Firas A.

Hi,

When you installed gnuradio, did you do "sudo make install" ?

Firas

Fasika Alemayehu wrote:
> 
> I am using Ubuntu 7.10.
> 
>
> -
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it
> now.
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ImportError%3A-No-module-named-gnuradio-tp14215656p14235736.html
Sent from the GnuRadio mailing list archive at Nabble.com.



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2007-12-07 Thread Fasika Alemayehu
I am using Ubuntu 7.10.

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2007-12-07 Thread George Nychis

What distribution are you running?

- George

Fasika Alemayehu wrote:

Hi All ,
I have just installed gnuradio and it was successful. But when i tried 
to run the gnuradio-examples, i get the error message 'ImportError: No 
module named gnuradio'. I have changed the PYTHONPATH to the directory 
where python is installed but it is not working. I have installed 
gnuradio in a different folder i.e. /usr/Nett/users/fass/gnuradio 
whereas the python directory is /usr/lib/python2.5/site-packages. Could 
that be a problem ?

Here is the error 
[EMAIL PROTECTED]:~$ export PYTHONPATH=/usr/lib/python2.5/site-packages
[EMAIL PROTECTED]:~/gnuradio/gnuradio-examples/python/network$ 
./dial_tone_source.py

Traceback (most recent call last):
  File "./dial_tone_source.py", line 23, in 
from gnuradio import gr
ImportError: No module named gnuradio

 >>>

Regards,

Fasika


Never miss a thing. Make Yahoo your homepage. 






___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] ImportError: No module named gnuradio

2007-12-07 Thread Fasika Alemayehu
Hi All ,
I have just installed gnuradio and it was successful. But when i tried to run 
the gnuradio-examples, i get the error message 'ImportError: No module named 
gnuradio'. I have changed the PYTHONPATH to the directory where python is 
installed but it is not working. I have installed gnuradio in a different 
folder i.e. /usr/Nett/users/fass/gnuradio whereas the python directory is 
/usr/lib/python2.5/site-packages. Could that be a problem ?
Here is the error 
[EMAIL PROTECTED]:~$ export PYTHONPATH=/usr/lib/python2.5/site-packages
[EMAIL PROTECTED]:~/gnuradio/gnuradio-examples/python/network$ 
./dial_tone_source.py
Traceback (most recent call last):
  File "./dial_tone_source.py", line 23, in 
from gnuradio import gr
ImportError: No module named gnuradio

>>> 

Regards,

Fasika 

   
-
Never miss a thing.   Make Yahoo your homepage.___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named gnuradio

2006-10-18 Thread Dan Halperin

[EMAIL PROTECTED] wrote:

I have a USRP and it seems to communicate fine with
the FC5 box. I have looked through the discuss-gnuradio mail archive and it 
seems like python is not finding gnuradio module. I checked path from within 
python for
/usr/local/lib/python/site-packages as mentioned in prior posts...it seems 
to be right. See below:
any suggestions? disclaimer: I am not Linux expert, but know the basics.
Is there a way to check gnuradio install?
  

sys.path


['', '/usr/lib/python24.zip', '/usr/lib/python2.4', 
'/usr/lib/python2.4/plat-lin ux2', '/usr/lib/python2.4/lib-tk', 
'/usr/lib/python2.4/lib-dynload', '/usr/lib/p ython2.4/site-packages', 
'/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/p 
ython2.4/site-packages/dbus', '/usr/lib/python2.4/site-packages/gtk-2.0', 
'/usr/ lib/python2.4/site-packages/wx-2.6-gtk2-unicode']
  
I don't see /usr/local/lib/python2.4/site-packages in that list. 
/usr/lib/python2.4/site-packages is, but not local.


-Dan


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] ImportError: No module named gnuradio

2006-10-18 Thread sr.hutch
I have a USRP and it seems to communicate fine with
the FC5 box. I have looked through the discuss-gnuradio mail archive and it 
seems like python is not finding gnuradio module. I checked path from within 
python for
/usr/local/lib/python/site-packages as mentioned in prior posts...it seems 
to be right. See below:
any suggestions? disclaimer: I am not Linux expert, but know the basics.
Is there a way to check gnuradio install?


[EMAIL PROTECTED] apps]$ ./test_usrp_standard_tx
tx_underrun
xfered 1.34e+08 bytes in 4.2 seconds.  3.199e+07 bytes/sec.  cpu time = 0.592
1 underruns

[EMAIL PROTECTED] usrp]$ ./usrp_oscope.py
Traceback (most recent call last):
  File "./usrp_oscope.py", line 25, in ?
from gnuradio import gr, gru
ImportError: No module named gnuradio

[EMAIL PROTECTED] ~]$ python
Python 2.4.2 (#1, Feb 12 2006, 03:59:46)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> sys.path
['', '/usr/lib/python24.zip', '/usr/lib/python2.4', 
'/usr/lib/python2.4/plat-lin ux2', '/usr/lib/python2.4/lib-tk', 
'/usr/lib/python2.4/lib-dynload', '/usr/lib/p ython2.4/site-packages', 
'/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/p 
ython2.4/site-packages/dbus', '/usr/lib/python2.4/site-packages/gtk-2.0', 
'/usr/ lib/python2.4/site-packages/wx-2.6-gtk2-unicode']


[EMAIL PROTECTED] usrp]# ./benchmark_usb.py
Traceback (most recent call last):
  File "./benchmark_usb.py", line 30, in ?
from gnuradio import gr
ImportError: No module named gnuradio


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio