Open gunt2551 opened 4 months ago
Hi @gunt2551, after examining ther error message, I believe that the issue originates from your python version. Currently, I'm using 3.7.4. Normaly It woldn't be a problem, but sometimes there can be issues with backward compatibility. Could you try with this version and comment here if the problem persists?
Thx @alexCajas. After changing the default Python version 2.7.18 called by "python" in the command line to 3.7.4 or 3.12.3, these versions can now run in the MSYS2 terminal. (Now, i use python 3.7.4 that the @alexCajas suggested me)
And when it runs in terminal, I need to fix the path from backslash (\)
to forward slash (/)
in the file that displayed the path in terminal before flashing (this process I need to do everytime when run the code)
and then it can flash successfully
This is for anyone who encountered the error.
raise SerialException("could not open port {!r}: {!r}".format(self.portstr,ctypes.WinError())) serial.serialutil.SerialException: could not open port 'COM7': WindowsError(5, 'Access is denied.') esptool.py failed with exit code 1
Close the Serial monitor
and then run it again
Environment
Problem Description
When i verifying code(your example code on github) I got an error. I am unsure the "build_path" needs to be set at "Environment Variables" or is already set up on your code. where can i find the path?
I also tried with version 1.0.2 ,but I got the same error.
If this issue needs to be discussed on your community forum, please let me know.