windows powershell
scoop install python
Python 版本 3.10.6
然后升级 pip ,报错(用管理员身份也一样报错)
python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in c:\users\brucm\scoop\persist\python\lib\site-packages (22.2.1)
Collecting pip
Using cached pip-22.2.2-py3-none-any.whl (2.0 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.2.1
Uninstalling pip-22.2.1:
Successfully uninstalled pip-22.2.1
WARNING: Failed to write executable - trying to use .deleteme logic
Rolling back uninstall of pip
Moving to c:\users\brucm\scoop\persist\python\lib\site-packages\pip-22.2.1.dist-info\
from C:\Users\brucm\scoop\persist\python\Lib\site-packages\~ip-22.2.1.dist-info
Moving to c:\users\brucm\scoop\persist\python\lib\site-packages\pip\
from C:\Users\brucm\scoop\persist\python\Lib\site-packages\~ip
Moving to c:\users\brucm\scoop\persist\python\scripts\
from C:\Users\brucm\scoop\persist\python\~cripts
ERROR: Could not install packages due to an OSError: [WinError 3] 系统找不到指定的路径。: 'C:\\Users\\brucm\\scoop\\apps\\python\\current\\Scripts\\pip.exe' -> 'C:\\Users\\brucm\\scoop\\apps\\python\\current\\Scripts\\pip.exe.deleteme'
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.