Hello
I'm cutting straight to the case.
Can I use CPhython Modules in Circuitpython?
I'm working on a Project which needs python-socket.io support. plus i need to use the Phidget22 Python Module.
Kind Regards
JJ
Circuitpython with CPhyton Libraries
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15674
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Circuitpython with CPhyton Libraries
It depends on what the CPython module depends on, how big it is, etc. Try it. It might need to be tweaked or reworked in some cases.
Dave
Dave
- danhalbert
- Posts: 4655
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Circuitpython with CPhyton Libraries
Neither of these would work on a CircuitPython board. The python-socket.io module uses a lot of underlying network stuff that's not necessarily available. The Phidget libraries appear to assume they are running on a machine that is a USB host (e.g. a regular desktop computer).
Are you intending to use these on a board or with Blinka on a host computer?
Are you intending to use these on a board or with Blinka on a host computer?
Please be positive and constructive with your questions and comments.