thearn/Python-Arduino-Command-API

Imports Fail in Python3

DragonflyRobotics opened this issue · 2 comments

I just tested this library in Python3. I am in a Conda environment and there are several major issues. It gives a module not found error when you try to import "Arduino from "Arudino". Also, in the init.py, there is a circular import between Shrimp and Arduino. I will attempt to fix the solution and send a pull request.

@DragonflyRobotics I'm not sure that this specific repo is maintained anymore, try a forked version from here: https://github.com/thearn/Python-Arduino-Command-API/network

A few specific forks that stick out:

My fork is currently mostly based off of @mkals fork; I believe I have fixed a bug with the way the arduino's parse the serial protocol (which should fix some issues with return values from reads), I haven't yet removed the default failure return value of '0', which is not good as it is very misleading. I haven't tried the others, but it looks like @rlourette also modified the serial protocol, which may fix this as well.

I will definitely check them out. Thanks for reaching out!