[Top][All Lists]

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

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

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

I tried to reinstall the grextras, but:

~/grextras/build$ cmake ../
CMake Error at CMakeLists.txt:34 (include):
  include could not find load file:


CMake Error at math/CMakeLists.txt:20 (GRAS_TOOL):
  Unknown CMake command "GRAS_TOOL".

-- Configuring incomplete, errors occurred!

Who can tell me how to fix this error?

On Tue, Aug 6, 2013 at 10:27 AM, Alex Zhang <address@hidden> wrote:

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.
---> 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? 


Dreams can come true – just believe.


Dreams can come true – just believe.

reply via email to

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