pip3安装numpy报错

2023-05-16

pip3 安装numpy报错

pip3 install -i https://pypi.doubanio.com/simple/ --trusted-host pypi.doubanio.com  numpy

报错如下:

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-qj6ko0m6/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n','\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-oge8_4l5-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-qj6ko0m6/numpy/

解决方法:

pip3 install --upgrade pip

参考

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

pip3安装numpy报错 的相关文章

随机推荐