当前位置:   article > 正文

python3.8怎么安装numpy_如何在python3.8.0中使用pip安装numpy时修复“ERROR:Command errored out with exit status 1”...

error: command errored out with exit status 1: command: 'c:\users\xjy\anacon

在将Python升级到3.8.0之后,我在使用pip安装与numpy相关的包时遇到了困难,包括numpy、matplotlib和sklearn。

错误信息如下:

我该怎么解决这个问题?在C:\WINDOWS\System32>pip install numpy

...

Installing collected packages: numpy

Running setup.py install for numpy ... error

ERROR: Command errored out with exit status 1: command: 'c:\users\tonakai\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Tonakai\\AppData\\Local\\Temp\\pip-install-ub45_c1a\\numpy\\setup.py'"'"'; __file__='"'"'C:\\Users\\Tonakai\\AppData\\Local\\Temp\\pip-install-ub45_c1a\\numpy\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/272088
推荐阅读
相关标签
  

闽ICP备14008679号