[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] python-problem
From: |
wolfgang buesser |
Subject: |
Re: [Discuss-gnuradio] python-problem |
Date: |
Fri, 28 Mar 2008 07:00:23 -0700 (PDT) |
O.k.
I seem to have figured it out myself. In case anybody else might run into
the same problem:
I installed numpy-1.0.4 from the source. This seems to be required on SuSE
10.3 eventhough a file
named _numpy.so was present in /usr/lib/python2.5/site-packages/Numeric
beforehand.
I don't understand why, but for me it fixed the problem.
Regards
Wolfgang
wolfgang buesser wrote:
>
> Hi,
>
> I have just installed gnuradio 3.1.1 on a SuSE-linux 10.3
>
> make performed without errors however make check reports:
> ======================================================================
> ERROR: test_blks_import (__main__.test_head)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "./qa_kludged_imports.py", line 35, in test_blks_import
> from gnuradio import blks
> File
> "/scr/gnuradio-3.1.1/gnuradio-core/src/python/gnuradio/blks/__init__.py",
> line 37, in <module>
> exec "from gnuradio.blksimpl.%s import *" % (f,)
> File "<string>", line 1, in <module>
> File
> "/scr/gnuradio-3.1.1/gnuradio-core/src/python/gnuradio/blksimpl/rational_resampler.py",
> line 22, in <module>
> from gnuradio import gr, gru
> File
> "/scr/gnuradio-3.1.1/gnuradio-core/src/python/gnuradio/gru/__init__.py",
> line 37, in <module>
> exec "from gnuradio.gruimpl.%s import *" % (f,)
> File "<string>", line 1, in <module>
> File
> "/scr/gnuradio-3.1.1/gnuradio-core/src/python/gnuradio/gruimpl/gnuplot_freqz.py",
> line 28, in <module>
> import numpy
> ImportError: No module named numpy
>
> I kept the default settings, thus gnuradio got installed in
> /usr/local/lib/python2.5/site-packages/ while SuSE seems to put all the
> pyhthon-stuff (including Numeric/_numpy.so) into
> /usr/lib/python2.5/site-packages.
> I thus set setenv PYTHONPATH
> /usr/local/lib/python2.5/site-packages/:/usr/lib/python2.5/site-packages
> => no effect.
> BTW: I get the same error-message when I try an example like
> gnuradio-3.1.1/gnuradio-examples/python/usrp/ usrp_benchmark_usb.py
> I try everything as root for the time being.
>
> Any hint on how I can make gnuradio consider both python directories would
> be very welcome
>
> Thanks
> Wolfgang
>
--
View this message in context:
http://www.nabble.com/python-problem-tp16347380p16349804.html
Sent from the GnuRadio mailing list archive at Nabble.com.