我正在尝试安装 numpy,但由于某种原因安装一直失败。
实际上,我需要的是 python 的nolearn,但 numpy(和 scipy)是依赖项。
所以我跑了:
sudo pip install numpy
Run Code Online (Sandbox Code Playgroud)
但这因安装日志而失败:
Downloading/unpacking numpy
Running setup.py (path:/tmp/pip_build_root/numpy/setup.py) egg_info for package numpy
Running from numpy source directory.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
Installing collected packages: numpy
Running setup.py install for numpy
/bin/sh: 1: svnversion: not found
non-existing path in 'numpy/distutils': 'site.cfg'
non-existing path …Run Code Online (Sandbox Code Playgroud)