正如标题中所述,每次我尝试通过 pip 安装某些内容时,在安装结束时都会出现错误
WARNING: Failed to write executable - trying to use .deleteme logic
Rolling back uninstall of chardet
Moving to c:\python39\lib\site-packages\chardet-4.0.0.dist-info\
from C:\Python39\Lib\site-packages\~hardet-4.0.0.dist-info
Moving to c:\python39\lib\site-packages\chardet\
from C:\Python39\Lib\site-packages\~hardet
ERROR: Could not install packages due to an OSError: [WinError 2] Impossibile trovare il file specificato: 'c:\\python39\\Scripts\\chardetect.exe' -> 'c:\\python39\\Scripts\\chardetect.exe.deleteme'*
已经尝试过了
python -m pip install -U pip --user
但它说
已满足要求: c:\users\paolo\appdata\roaming\python\python39\site-packages 中的 pip (21.0.1)
我不明白为什么,也无法在互联网上找到任何内容。请帮忙!
之后
python -m pip install -U pip --user
命令,重新运行安装。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)