discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] python-problem


From: wolfgang buesser
Subject: [Discuss-gnuradio] python-problem
Date: Fri, 28 Mar 2008 01:02:31 -0700 (PDT)

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-tp16347380p16347380.html
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]