[Top][All Lists]

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

[Discuss-gnuradio] question about import a new block in gnuradio-3.3.0

From: intermilan
Subject: [Discuss-gnuradio] question about import a new block in gnuradio-3.3.0
Date: Wed, 17 Nov 2010 10:48:11 +0800

hi all:
     I use the command create-gnuradio-out-of-tree-project to bulid a new block,and after that I use the following command:
     make check
     sudo make install
     Then I thought I had installed the new block.then I want to import the new block in the python to make sure it is successfully installed.Then I got this:

address@hidden:~/gnuradio-3.3.0/test_example$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import test_example
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.6/dist-packages/test_example/__init__.py", line 40, in <module>
    from test_example_swig import *
  File "/usr/local/lib/python2.6/dist-packages/test_example/test_example_swig.py", line 24, in <module>
    _test_example_swig = swig_import_helper()
  File "/usr/local/lib/python2.6/dist-packages/test_example/test_example_swig.py", line 20, in swig_import_helper
    _mod = imp.load_module('_test_example_swig', fp, pathname, description)
ImportError: libgnuradio-test_example.so.0: cannot open shared object file: No such file or directory

    My python is not very well,so I hope someone can help me figure it out.
    Thank you in advance.

reply via email to

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