小编use*_*551的帖子

安装python的numpy一直失败

我正在尝试安装 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)

python software-installation numpy

5
推荐指数
1
解决办法
4726
查看次数

标签 统计

numpy ×1

python ×1

software-installation ×1