美文网首页
Failed building wheel for scipy

Failed building wheel for scipy

作者: 孙庚辛 | 来源:发表于2021-12-20 09:16 被阅读0次

出现这样的错误:

  Failed building wheel for scipy
  Running setup.py clean for scipy
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-i46nxk2r/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
  
  `setup.py clean` is not supported, use one of the following instead:
  
    - `git clean -xdf` (cleans all files)
    - `git clean -Xdf` (cleans all versioned files, doesn't touch
                        files that aren't checked into the git repo)
  

如果你使用的是 Python3 的版本, 可以执行以下命令,

pip3 install --upgrade pip setuptools wheel

然后再安装 scipy 。

相关文章

网友评论

      本文标题:Failed building wheel for scipy

      本文链接:https://www.haomeiwen.com/subject/bffnfrtx.html