麻烦帮忙看看,已经运行了pip更新命令。更新到23.2.1.但还是错误。重新安装
重新安装IDF5.0.x或者5.1.x都能正常安装完成。就是无法安装4.4.x版本就报错!!!
pip已换源国内阿里云。
虚拟机安装的目录也会被删除,python_env 这个文件夹被清空了,里面没有内容。
pip 23.2.1 from f:\DevSetup\tools\idf-python\3.11.2\Lib\site-packages\pip (python 3.11)
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting virtualenv
Using cached https://mirrors.aliyun.com/pypi/package ... ne-any.whl (3.7 MB)
Collecting distlib<1,>=0.3.7 (from virtualenv)
Using cached https://mirrors.aliyun.com/pypi/package ... ne-any.whl (468 kB)
Collecting filelock<4,>=3.12.2 (from virtualenv)
Using cached https://mirrors.aliyun.com/pypi/package ... ne-any.whl (11 kB)
Collecting platformdirs<4,>=3.9.1 (from virtualenv)
Using cached https://mirrors.aliyun.com/pypi/package ... ne-any.whl (17 kB)
Installing collected packages: distlib, platformdirs, filelock, virtualenv
Successfully installed distlib-0.3.7 filelock-3.12.4 platformdirs-3.10.0 virtualenv-20.24.5
Installing virtualenv
Creating a new Python environment in f:\DevSetup\python_env\idf4.4_py3.11_env
f:\DevSetup\tools\idf-python\3.11.2\python.exe: No module named virtualenv
Traceback (most recent call last):
File "f:\DevSetup\esp-idf\tools\idf_tools.py", line 2003, in <module>
main(sys.argv[1:])
File "f:\DevSetup\esp-idf\tools\idf_tools.py", line 1999, in main
action_func(args)
File "f:\DevSetup\esp-idf\tools\idf_tools.py", line 1625, in action_install_python_env
subprocess.check_call([sys.executable, '-m', 'virtualenv',
File "subprocess.py", line 413, in check_call
subprocess.CalledProcessError: Command '['f:\\DevSetup\\tools\\idf-python\\3.11.2\\python.exe', '-m', 'virtualenv', '--python', 'f:\\DevSetup\\tools\\idf-python\\3.11.2\\python.exe', '--seeder', 'pip', 'f:\\DevSetup\\python_env\\idf4.4_py3.11_env']' returned non-zero exit status 1.
Command failed: "f:\DevSetup\tools\idf-python\3.11.2\python.exe" "f:\DevSetup\esp-idf\tools\idf_tools.py" install-python-env
f:\DevSetup\tools\idf-python\3.11.2\python.exe: No module named virtualenv
Traceback (most recent call last):
File "f:\DevSetup\esp-idf\tools\idf_tools.py", line 2003, in <module>
main(sys.argv[1:])
File "f:\DevSetup\esp-idf\tools\idf_tools.py", line 1999, in main
action_func(args)
File "f:\DevSetup\esp-idf\tools\idf_tools.py", line 1625, in action_install_python_env
subprocess.check_call([sys.executable, '-m', 'virtualenv',
File "subprocess.py", line 413, in check_call
subprocess.CalledProcessError: Command '['f:\\DevSetup\\tools\\idf-python\\3.11.2\\python.exe', '-m', 'virtualenv', '--python', 'f:\\DevSetup\\tools\\idf-python\\3.11.2\\python.exe', '--seeder', 'pip', 'f:\\DevSetup\\python_env\\idf4.4_py3.11_env']' returned non-zero exit status 1.
Command failed: "f:\DevSetup\tools\idf-python\3.11.2\python.exe" "f:\DevSetup\esp-idf\tools\idf_tools.py" install-python-env
f:\DevSetup\tools\idf-python\3.11.2\python.exe: No module named virtualenv
Traceback (most recent call last):
File "f:\DevSetup\esp-idf\tools\idf_tools.py", line 2003, in <module>
main(sys.argv[1:])
File "f:\DevSetup\esp-idf\tools\idf_tools.py", line 1999, in main
action_func(args)
File "f:\DevSetup\esp-idf\tools\idf_tools.py", line 1625, in action_install_python_env
subprocess.check_call([sys.executable, '-m', 'virtualenv',
File "subprocess.py", line 413, in check_call
subprocess.CalledProcessError: Command '['f:\\DevSetup\\tools\\idf-python\\3.11.2\\python.exe', '-m', 'virtualenv', '--python', 'f:\\DevSetup\\tools\\idf-python\\3.11.2\\python.exe', '--seeder', 'pip', 'f:\\DevSetup\\python_env\\idf4.4_py3.11_env']' returned non-zero exit status 1.
安装IDF4.4出现的报错, python virtualenv失败!!!
Re: 安装IDF4.4出现的报错, python virtualenv失败!!!
我的系统是win11。vscode是1.82。 IDF插件是1.6.4。都是最新的。
Who is online
Users browsing this forum: No registered users and 184 guests