Skip to content
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

Imports Fail in Python3 #33

Open
DragonflyRobotics opened this issue Mar 8, 2022 · 2 comments
Open

Imports Fail in Python3 #33

DragonflyRobotics opened this issue Mar 8, 2022 · 2 comments

Comments

@DragonflyRobotics
Copy link

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.

@Doom4535
Copy link

Doom4535 commented Apr 2, 2022

@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.

@DragonflyRobotics
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants