Hello,
I have a problem lastly, on my ESP32 projects: I received an error when I try to load them or create new projects. I use VGDB 5.6R9 build 4807, and I get this error, no matter what IDF I take:
Run “C:\Users\Mattia Berton\AppData\Local\VisualGDB\Python3\python.exe c:\sysgcc\esp32\esp-idf\v5.0\tools\idf_tools.py install-python-env” in directory “” on local computer
————————–
Creating a new Python environment in C:\Users\Mattia Berton\.espressif\python_env\idf5.0_py3.8_env
Error: Command ‘[‘C:\\Users\\Mattia Berton\\.espressif\\python_env\\idf5.0_py3.8_env\\Scripts\\python.exe’, ‘-Im’, ‘ensurepip’, ‘–upgrade’, ‘–default-pip’]’ returned non-zero exit status 101.
Traceback (most recent call last):
File “c:\sysgcc\esp32\esp-idf\v5.0\tools\idf_tools.py”, line 2610, in <module>
main(sys.argv[1:])
File “c:\sysgcc\esp32\esp-idf\v5.0\tools\idf_tools.py”, line 2602, in main
action_func(args)
File “c:\sysgcc\esp32\esp-idf\v5.0\tools\idf_tools.py”, line 2022, in action_install_python_env
subprocess.check_call([sys.executable, ‘-m’, ‘venv’,
File “C:\Users\Mattia Berton\AppData\Local\VisualGDB\Python3\lib\subprocess.py”, line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘C:\\Users\\Mattia Berton\\AppData\\Local\\VisualGDB\\Python3\\python.exe’, ‘-m’, ‘venv’, ‘–clear’, ‘C:\\Users\\Mattia Berton\\.espressif\\python_env\\idf5.0_py3.8_env’]’ returned non-zero exit status 1.
————————–
Command exited with code 1
I already tried to follow the guide https://visualgdb.com/documentation/espidf/#python, but with no good result.
Can you help me?
Thank you,
Mattia Berton