-
Notifications
You must be signed in to change notification settings - Fork 10
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
compiled libqi-python for python 3.4 can't import it #2
Comments
It seems from StackOverflow1 & StackOverflow2 that the problem is in the way we compiled the libboost-python library. In my case, the import does not work even with python 2.7. |
libqi-python is currently being ported to Python 3, but note that only Python 3.5+ will be supported. |
Thank you @nyibbang for your help! In my case, I have compiled on the Jetson TX2 Platform (arm). Is there a way to overcome this problem? File "/usr/lib/python2.7/dist-packages/qi/__init__.py", line 88, in
from _qi import Application as _Application
ImportError: dynamic module does not define init function (init_qi)``` |
Which branch did you use to build libqi-python ? |
I built the branch "release-2.5" and applied these patches. Yes, I have the _qi.so file. |
If you run |
No. |
Sorry, I meant |
yes, I see it! |
Check that the symbol is exposed correctly (in the readelf output, the content of the 6th column should be Also it seems you installed the qi python module using pip (from the path |
I am sorry for that. I am not the author of the issue. I have the same problem but with Python2.7. I confirm that the content of the 6th column is DEFAULT! |
Same output. |
Okay I understand a bit better now, although I doubt the two issues are related. I'm going to close this issue and we can discuss your issue on #9 |
Hi,
I compiled libqi-python for python 3.4 but when I'm trying to import it I got the following error.
File "/lib/python3.4/site-packages/qi/init.py", line 85, in
from _qi import Application as _Application
ImportError: dynamic module does not define init function (PyInit__qi)
Does someone have a clue how I can fix that?
The text was updated successfully, but these errors were encountered: