I’ve solved my problem compiling espidf examples on Linux thanks to the help of this forum.
Unfortunately the exact same setup won’t compile on Windows platform:
Checking Python dependencies...
- Configuring incomplete, errors occurred!
fatal: not a git repository (or any of the parent directories): .git
File "C:\Users\thoma\.platformio\python37\lib\site.py", line 177
I’ve found some hints:
Moving the project to c:\ didn’t help, a .git repo is available and git action works properly.
I had deleted the .platformio directory completely as well as the project related stuff e.g. .pio’
The latest version was reinstalled without any flaws.
shows that error output of python interpreter has been re-routed to the file file. Maybe you want to look into that file to see what error exactly python throws. If it is the same as the git repo error, you just might have to re-point platformio to the correct libraries to get rid of the error (use e.g. lib_deps = <your library> for that).
I’ve been checking all of the logs:
and the solution lies here
message(FATAL_ERROR "Some Python dependencies must be installed. Check above message
Build fails due to missing Python dependencies, but which are these ?
Simple: I have two Python version installed on the PC: 2.7x and 3.7x, and with the old version the toolchain doesn’t work.
And whats the difference to the Linux setup : on Linux I have only the latest Python version.
So I simply changed the Python path and now everythings works fine.
For future projects, think about installing a virtual environment for python, e.g. venv - if not already in use - so that each project runs in an own environment with correct lib versions and dependencies.
That way, it becomes less likely to face module or python version based issues.