-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Python TypeError when compiling sketch #236
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
Comments
check if there are no errors on your side in this file. |
Seems to be a problem with the default python version. The script gen_esp32part.py seems to work only with python2 |
I had the same problem. I was using the Python 3 interpreter. You can fix it temporary by doing this: mkdir /tmp/bin when you start arduino ide from your terminal window it should work! |
I'll turn it into binary next time around and will not be a problem. |
in ArchLinux you can |
Is it worthwhile to make gen_esp32part.py compatible with python3, or will that just kick the problem to the next incompatible step? This requires changing line 83 of gen_esp32part.py something like (untested code):
|
TBH I'm no python coder :) I get around with it and can write some stuff, but I am in no way intimate with it to the point where I know the differences between 2.7 and 3 and how to make things work. |
Solved here: espressif/esp-idf#577 =) |
* fix(docker): Add docker tag to run scripts in 5.3 branch * Add additional info
Hi All,
I am not able to compile any sketches due to this error. Anyone come across this?
The text was updated successfully, but these errors were encountered: