Python path case sensitivity issue on Windows (IDFGH-11666) #12779
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.3-dev-888-gcb66d6f6fa
Espressif SoC revision.
all
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
all
Power Supply used.
USB
What is the expected behavior?
idf.py does not complain about wrong python path when building project
What is the actual behavior?
When the path of python.exe recorded in project's build config is case-different on a case-insensitive filesystem (Windows), this error occurs:
'c:\work\esp32\.espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe' is currently active in the environment while the project was configured with 'C:\work\esp32\.espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe'. Run 'idf.py fullclean' to start again.
the
C:
drive is identical toc:
drive on Windows, but this is not taken into accountSteps to reproduce.
idf.py build
you should see the error as described above
...
Debug Logs.
No response
More Information.
I will submit PR correcting this behavior shortly
The text was updated successfully, but these errors were encountered: