Re: Compile Error - ...'python3: no such file or directory'
Posted: Sun Jul 31, 2022 6:40 am
For my Windows 11 installation the Python3 interpreter was install automatically in:
- <packages folder>\esp8266\tools\python3
- <packages folder>\esp8266\hardware\esp8266\3.0.2\tools\python3
- C:\Users\Mark\AppData\Local\Arduino15\packages
- Start a administrative command prompt
- Change directory to <packages folder>\esp8266\hardware\esp8266\3.0.2\tools
- Create a directory symbolic link:
mklink /D python3 <packages folder>\esp8266\tools\python3\3.7.2-post1
- Edit <packages folder>\esp8266\3.0.2\platform.io and replace all occurrences of {runtime.tools.python3.path}/python3 with {runtime.platform.path}/tools/python3/python3.
- Install a Python3 interpreter into <packages folder>\esp8266\tools\python3\3.7.2-post1.