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_ieee802_11_swig) #7

Closed
rubund opened this issue Jan 25, 2015 · 3 comments

Comments

@rubund
Copy link
Contributor

rubund commented Jan 25, 2015

Hi,

When importing ieee802_11 in python after a build and install, I get this error message:

Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/ieee802_11/init.py", line 37, in
from ieee802_11_swig import *
File "/usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py", line 28, in
_ieee802_11_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py", line 24, in swig_import_helper
_mod = imp.load_module('_ieee802_11_swig', fp, pathname, description)
ImportError: dynamic module does not define init function (init_ieee802_11_swig)

I'm running Debian sid and using the latest version of gnuradio in the Debian archives (3.7.5-5).

Ruben

@bastibl
Copy link
Owner

bastibl commented Jan 25, 2015

That might be due to an incompatible Swig version (I use 2.0.11). If that's not the problem can you please assert that python3 is not used (actually cmake should take care of that).

@rubund
Copy link
Contributor Author

rubund commented Jan 25, 2015

Thanks for the quick response. It's related to PythonLibs 3 vs. 2. I've created a pull request.

Thanks for the great effort you've put into gr-ieee802-11!

@bastibl
Copy link
Owner

bastibl commented Jan 25, 2015

great, thanks for fixing this!

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

2 participants