提示"C:\Users\z\.espressif\tools\idf-python\python.exe -m pip" is not valid. (ERROR_INVALID_PIP)
更完整的提示:
Command failed: "C:\Users\z\.espressif\tools\idf-python\python.exe" -m pip --version
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "C:\Users\z\.espressif\tools\idf-python\lib\site-packages\pip\__main__.py", line 23, in <module>
from pip._internal.cli.main import main as _main # isort:skip # noqa
File "C:\Users\z\.espressif\tools\idf-python\lib\site-packages\pip\_internal\cli\main.py", line 10, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "C:\Users\z\.espressif\tools\idf-python\lib\site-packages\pip\_internal\cli\autocompletion.py", line 9, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "C:\Users\z\.espressif\tools\idf-python\lib\site-packages\pip\_internal\cli\main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "C:\Users\z\.espressif\tools\idf-python\lib\site-packages\pip\_internal\cli\cmdoptions.py", line 25, in <module>
from pip._internal.cli.progress_bars import BAR_TYPES
File "C:\Users\z\.espressif\tools\idf-python\lib\site-packages\pip\_internal\cli\progress_bars.py", line 12, in <module>
from pip._internal.utils.logging import get_indentation
File "C:\Users\z\.espressif\tools\idf-python\lib\site-packages\pip\_internal\utils\logging.py", line 9, in <module>
import logging.handlers
File "logging\handlers.py", line 26, in <module>
File "socket.py", line 49, in <module>
ImportError: DLL load failed while importing _socket: ��������
[attachment=0]无标题.png[/attachment]
ESP-IDF Extension for Visual Studio Code安装错误
ESP-IDF Extension for Visual Studio Code安装错误
- Attachments
-
- 无标题.png (150.84 KiB) Viewed 5755 times
Re: ESP-IDF Extension for Visual Studio Code安装错误
重新安装一下python 试试
Re: ESP-IDF Extension for Visual Studio Code安装错误
删除安装文件夹下 *:\Espressif\tools 内的 idf-git 和 idf-python 两个文件夹,在vscode内重试一下就好了。
Who is online
Users browsing this forum: No registered users and 133 guests