-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ImportError on import espefuse line of custom python script (ESPTOOL-542) #797
Comments
github-actions
bot
changed the title
ImportError on import espefuse line of custom python script
ImportError on import espefuse line of custom python script (ESPTOOL-542)
Nov 17, 2022
Thanks @belezyakov for informing us. We will investigate.... The desired solution would be to keep compatibility with old and new bitstring as well. |
According to bitstring release notes for v4.0.1: |
espressif-bot
pushed a commit
that referenced
this issue
Nov 21, 2022
Workaround for #797. The proper solution will be added in a follow-up commit.
espressif-bot
pushed a commit
that referenced
this issue
Nov 23, 2022
bitstring==4 has several breaking changes and supports Python 3.7+ only. Esptool==3.* should still support Python 2.7 and 3.4+. Closes #797
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Operating System
Ubuntu 20.04.5 and Debian GNU/Linux 10
Esptool Version
v4.3
Python Version
Python 3.8.10
Full Esptool Command Line that Was Run
import espefuse
Esptool Output
What is the Expected Behaviour?
No error on importing espefuse
More Information
It seems like installing
esptool
in raw environment usingpip
collectsbitstring
wheel of new version 4.0.0 or 4.0.1 which satisfies requirementsubitstring>=3.1.6
, but incompatible withesptool
. Preinstallingbitstring==3.1.9
eliminates the issue.Other Steps to Reproduce
No response
The text was updated successfully, but these errors were encountered: