You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Successfully built and installed however the module cannot be found:
Python 2.7.12 (default, Jun 28 2016, 08:31:05)
[GCC 6.1.1 20160602] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xwiimote
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "xwiimote.py", line 21, in <module>
_xwiimote = swig_import_helper()
File "xwiimote.py", line 20, in swig_import_helper
return importlib.import_module('_xwiimote')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named _xwiimote
Any ideas ?
The text was updated successfully, but these errors were encountered:
The solution is that you have to run the file with sudo LD_LIBRARY_PATH=<prefix>/lib PYTHONPATH=<prefix>/lib/python2.7/site-packages python ./xwiimote.py rather than just python ./xwiimote.py. (<prefix> should be replaced /usr if you ran ./autogen.sh --prefix=/usr or simply left out if you ran ./autogen.sh without the prefix flag).
Successfully built and installed however the module cannot be found:
Any ideas ?
The text was updated successfully, but these errors were encountered: