py -3.7 -m ensurepip --upgrade Defaulting to user installation because normal site-packages is not writeable Looking in links: c:\Users\15875\AppData\Local\Temp\tmpq92ga7by Requirement already up-to-date: setuptools in c:\program files\windowsapps\pythonsoftwarefoundation.python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\site-packages (47.1.0) Requirement already up-to-date: pip in c:\program files\windowsapps\pythonsoftwarefoundation.python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\site-packages (20.1.1)
时间: 2023-07-21 10:10:13 浏览: 147
解决python -m pip install --upgrade pip 升级不成功问题
很好,ensurepip和pip已经是最新版本了。接下来,你可以使用以下命令来安装特定版本的NumPy(例如1.19.5):
```
py -3.7 -m pip install numpy==1.19.5
```
这将使用Python 3.7版本的pip安装NumPy库的特定版本。请确保在命令提示符下执行此命令,并确保你有足够的权限来安装软件包。如果一切顺利,NumPy 1.19.5将被成功安装。
阅读全文