|
Python3.8.01利用pip3 install numpy 遇到下列错误:
Command "/usr/local/python3/bin/python3.8 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-yngu6974/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-record-7zz2n21t/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-yngu6974/numpy/
解决方案
安装Python3.6.8解决了该问题。原因可能是Python3.8的版本有问题。
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-21 21:23
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社