No pyvenv.cfg file
Posted: Sat Dec 30, 2023 2:44 pm
Hi All,
I have spent almost 2 weeks trying to get to the stage where I can compile and download hello_world, and am now getting "No pyvenv.cfg file" in both Eclipse IDE with Espressif IDF plugin and also in Espressif IDE. I have at least 4 copies of this file in the folder where python.exe resides for both the python installation and also the python virtual environment folder, and also in the parent folders for these 2 folders. but the system can't seem to find them. The following is a partial log of activity showing the error. :
Python being checked: C:\Users\User\.espressif\python_env\idf5.1_py3.12_env\Scripts\python.exe
No pyvenv.cfg file
CMake Error at D:/Espressif/esp-idf-v5.1.2/tools/cmake/build.cmake:366 (message):
-- Configuring incomplete, errors occurred!
See also "D:/Espressif/hello/build/CMakeFiles/CMakeOutput.log".
Failed to run Python dependency check. Python: python, Error: -106
Call Stack (most recent call first):
D:/Espressif/esp-idf-v5.1.2/tools/cmake/build.cmake:498 (__build_check_python)
D:/Espressif/esp-idf-v5.1.2/tools/cmake/project.cmake:547 (idf_build_process)
CMakeLists.txt:6 (project)
On top of this I spent quite a while solving the issue of No espidf.constraints.v5.1.txt file. I found something online and copied it into a txt file and saved it to the appropriate folder and this seemed to get me one small step further. It's been a long hard struggle to get this far.
I can't seem to find any indormation online about the pyvenv.cfg file missing.
Any help would be appreciated.
Thanks in advance,
Bill
I have spent almost 2 weeks trying to get to the stage where I can compile and download hello_world, and am now getting "No pyvenv.cfg file" in both Eclipse IDE with Espressif IDF plugin and also in Espressif IDE. I have at least 4 copies of this file in the folder where python.exe resides for both the python installation and also the python virtual environment folder, and also in the parent folders for these 2 folders. but the system can't seem to find them. The following is a partial log of activity showing the error. :
Python being checked: C:\Users\User\.espressif\python_env\idf5.1_py3.12_env\Scripts\python.exe
No pyvenv.cfg file
CMake Error at D:/Espressif/esp-idf-v5.1.2/tools/cmake/build.cmake:366 (message):
-- Configuring incomplete, errors occurred!
See also "D:/Espressif/hello/build/CMakeFiles/CMakeOutput.log".
Failed to run Python dependency check. Python: python, Error: -106
Call Stack (most recent call first):
D:/Espressif/esp-idf-v5.1.2/tools/cmake/build.cmake:498 (__build_check_python)
D:/Espressif/esp-idf-v5.1.2/tools/cmake/project.cmake:547 (idf_build_process)
CMakeLists.txt:6 (project)
On top of this I spent quite a while solving the issue of No espidf.constraints.v5.1.txt file. I found something online and copied it into a txt file and saved it to the appropriate folder and this seemed to get me one small step further. It's been a long hard struggle to get this far.
I can't seem to find any indormation online about the pyvenv.cfg file missing.
Any help would be appreciated.
Thanks in advance,
Bill