解决“\esp32\tools\tools\idf-python\3.8.7\python.exe: No module named venv._main”错误 概述 在开发过程中,我们经常会使用Python虚拟环境来隔离和管理项目依赖。然而,在使用ESP-IDF开发ESP32项目时,有时会遇到类似于“\esp32\tools\tools\idf-python\3.8.7\python.exe: No module named venv._main”这...
c:\Espressif\tools\idf-python\3.11.2\python.exe: No module named virtualenv File "subprocess.py", line 413, in check_call subprocess.CalledProcessError: Command '['c:\\Espressif\\tools\\idf-python\\3.11.2\\python.exe', '-m', 'virtualenv', '--python', 'c:\\Espressif\\tools\\idf-...
You can either delete and re make the virtual environment (pip should be included when created with virtualenv or venv) or install pip directly in this virtual environment. To get pip just download this script Code: Select all curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py an...
idf_python_env_path, _, virtualenv_python = get_python_env_path() File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 968, in get_python_env_path cwd=global_idf_path, env=os.environ).decode() File "C:\Users\info\AppData\Local\Programs\Python\Python37\lib\subprocess.py", ...
Installing python virtualenv and ESP-IDF python requirements... Creating a new Python environment in /home/pascalb/.espressif/python_env/idf4.0_py3.6_env ...Requirement already satisfied: setuptools in ./lib/python3.6/site-packages (from -r /home/pascalb/esp-idf/requirements.txt (line 4)) ...