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

Build Requiring Python 2.7 #318

Open
GraphicHealer opened this issue Jun 5, 2020 · 1 comment
Open

Build Requiring Python 2.7 #318

GraphicHealer opened this issue Jun 5, 2020 · 1 comment

Comments

@GraphicHealer
Copy link

I still dont understand why, but the pyserial for python 2.7 apparently works differently than 3, because I get errors concerning pyserial with only python 3 installed (ex. Ubuntu 20.04).

Specifically "ImportError: No module named serial.tools.list_ports"

I looked it up, and apparently according to this post: espressif/esptool#379 (comment)

python 2.7 is what fixes this issue. I dont know if this is a siple fix, or requires an overhaul, but for now, I dont think we can compile this on ubuntu v20 or higher. Stick to v18.

@GraphicHealer GraphicHealer changed the title Requires python 2.7 Build Requiring Python 2.7 Jun 5, 2020
@GraphicHealer
Copy link
Author

GraphicHealer commented Jun 5, 2020

Just confirmed. Switched to Ubuntu 18.04 with python 2.7 installed, the build process ran without a hitch.

edit: Cant flash to make sure. WSL2 doesn't support USB devices as of now.

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

1 participant