出现这样的错误:
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 。