Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: dynamic module does not define init function (init_display_swig) #5

Closed
diazm opened this issue Oct 18, 2017 · 1 comment

Comments

@diazm
Copy link

diazm commented Oct 18, 2017

Hi,
I installed this block in Ubuntu 16.06 and GNURadio 3.7.11.1 . The installation was ok but when try to run a flowgraph (.grc) I get the following message:

Traceback (most recent call last):
File "/home/diaz/Downloads/gnuradio/gr-display/build/text_sink.py", line 27, in
import display
File "/usr/local/lib/python2.7/dist-packages/display/init.py", line 45, in
from display_swig import *
File "/usr/local/lib/python2.7/dist-packages/display/display_swig.py", line 28, in
_display_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/display/display_swig.py", line 24, in swig_import_helper
_mod = imp.load_module('_display_swig', fp, pathname, description)
ImportError: dynamic module does not define init function (init_display_swig)

Done (return code 1)

Any ideas?

Regards

@diazm
Copy link
Author

diazm commented Oct 19, 2017

Solved, try to cmakelists.txt
find_package( PythonLibs 2.7 REQUIRED )

@diazm diazm closed this as completed Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant