-
Notifications
You must be signed in to change notification settings - Fork 100
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
Python3 support #26
Comments
+1 to this. |
I tried to build this on a Pi recently and got nowhere. If anyone manages it can they post the instructions here? We can see if it's possible to build for Python 3, and if not we can try to work out the problem. |
Ben, I meant to try this at the weekend but run out of time. However I looked through my notes and it appears I did not install via this repo, i used We did use this repo for PiWars 2014 and 2015, But using C++ rather than Python, there was a fix that had to be applied, I will try and find out what it was. |
Sorry if I was unclear. I'm not saying I failed to use the library at all. I've been using the packaged Python 2 version in my projects. My comment above was referring to trying to build it from source to see if I could get a Python 3 version working as well. |
Ben, see the readme on our Tractobot 2014 repo https://github.com/ipswichmakerspace/TractorBot/tree/master/software We have not tried this for a while since it got added into the distro packages, so this might not be the issue you are having. |
i'd love this, can you port it over or is that too complicated? |
I've ported the library for python3 here https://github.com/azzra/python3-wiimote As I'm not a C developer, I just ported the python extension and left the library unchanged. |
Awesome!! Can you publish on PyPI? Let me know if you need help. |
Here you go https://pypi.python.org/pypi/cwiid |
👍 |
I tried to build on piwheels but it failed due to the dependency of I haven't worked out how best to deal with build dependencies yet. |
Download and built cwiid from the git responsitory and it shouldn't have the cwiid.h error. Repo:https://github.com/azzra/python3-wiimote |
Sorry for waking up this ancient thread... I managed to build cwiid, but python failed to find the module cwiid, neither with python3 nor with Thonny. Any more setup is needed? |
I know this repository is not in active development. However this library is used extensively by Raspberry Pi users for controlling robots. With the up coming PiWars (http://piwars.org) competition in the UK. It would be really great if someone could provide Python3 support.
Is anyone able to take up this challenge?
The text was updated successfully, but these errors were encountered: