Windows找不到Python3.12wheel.exe.deleteme

问题描述 投票:0回答:1

python -m pip install -U pip --user
运行此命令后显示警告

Installing collected packages: wheel, setuptools, pip
  WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python312\\Scripts\\wheel.exe' -> 'C:\\Python312\\Scripts\\wheel.exe.deleteme'

为什么我会收到此错误?

python python-3.x installation command-prompt python-wheel
1个回答
0
投票

“回答为什么我得到这个”:您只想知道为什么它不起作用还是还想解决问题?

根据错误信息,安装失败,因为找不到

C:\Python312\Scripts\wheel.exe.deleteme

根据 由于 OSError 无法安装软件包:[WinError 2] 没有这样的文件或目录,要解决此问题,请尝试以管理员身份运行此命令(打开命令提示符 -> 以管理员身份运行)

© www.soinside.com 2019 - 2024. All rights reserved.