discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Cannot import gnuradio.extras after reinstall the lat


From: Alex Zhang
Subject: [Discuss-gnuradio] Cannot import gnuradio.extras after reinstall the latest gnuradio
Date: Tue, 6 Aug 2013 10:27:42 -0500

Hi,

I reinstalled the entire gnuradio using ./build-gnuradio -m. But when I try to import the gnuradio.extras, errors happened:

In [1]: import gnuradio.extras 
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-32318fefea85> in <module>()
----> 1 import gnuradio.extras

/usr/local/lib/python2.7/dist-packages/gnuradio/extras/__init__.py in <module>()
     18 # Boston, MA 02110-1301, USA.
     19 
---> 20 from extras_swig import *
     21 import extras_pmt #act of importing performs injection
     22 import block_gateway #act of importing performs injection

/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.py in <module>()
     24                 fp.close()
     25             return _mod
---> 26     _extras_swig = swig_import_helper()
     27     del swig_import_helper
     28 else:

/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.py in swig_import_helper()
     20         if fp is not None:
     21             try:
---> 22                 _mod = imp.load_module('_extras_swig', fp, pathname, description)
     23             finally:
     24                 fp.close()

ImportError: libgnuradio-extras.so: cannot open shared object file: No such file or directory

I run the sudo ldconfig after the whole installation, but the error still exists.
Btw, do I need to install the GRAS manually? 


--

Alex,
Dreams can come true – just believe.

reply via email to

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