杨涛只
Python3.8.01利用pip3 install numpy 遇到下列错误
2021-10-14 13:16
阅读:3069

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的版本有问题。

转载本文请联系原作者获取授权,同时请注明本文来自杨涛只科学网博客。

链接地址:https://wap.sciencenet.cn/blog-807279-1307943.html?mobile=1

收藏

分享到:

当前推荐数:0
推荐到博客首页
网友评论0 条评论
确定删除指定的回复吗?
确定删除本博文吗?