importing pywiiuse to test out

Posted by Patrick Burton on Stack Overflow See other posts from Stack Overflow or by Patrick Burton
Published on 2012-04-05T23:24:21Z Indexed on 2012/04/05 23:30 UTC
Read the original article Hit count: 558

This is probably a simple problem. But I downloaded the pywiiuse library from here and I also downloaded the examples. However when I try to run one of the examples I end up with import issues. I'm not certain I have everything configured properly to run. One error I receive when trying to run example.py:

Press 1&2
Traceback (most recent call last):
  File "example.py", line 73, in <module>
    wiimotes = wiiuse.init(nmotes)
  File "/home/thed0ctor/Descargas/wiiuse-0.12/wiiuse/__init__.py", line 309, in init
    dll = ctypes.cdll.LoadLibrary('libwiiuse.so')
  File "/usr/lib/python2.7/ctypes/__init__.py", line 431, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libwiiuse.so: cannot open shared object file: No such file or directory

I'm really just starting out with this library and don't really see any documentation on how to configure pywiiuse so any help is much appreciated.

© Stack Overflow or respective owner

Related posts about python

Related posts about game-development