没有名为py的numpy模块

Rod*_*uez 3 python git pypy numpy

这个问题与将numpy与pypy一起使用有关

我尝试使用

点安装git + https://bitbucket.org/pypy/numpy.git

该系统(Fedora版本24(二十四))表示

git:“ submodule”不是git命令。参见'git --help'。命令“ git子模块更新--init --recursive -q”失败,错误代码为/ tmp / pip-LD8rrP-build

似乎numpy与pypy不兼容。

这个问题有什么解决办法吗?PS我设法在ubuntu上安装了它,但是没有在fedora上安装。

附加信息:

Fedora第24版(二十四)

来自/usr/lib/python2.7/site-packages(python 2.7)的pip 9.0.1

git版本2.7.4

Arm*_*igo 5

您指的是6岁的帖子。在PyPy上安装numpy的当前首选方法是simple pip install numpy。(这pip是指PyPy版本,就像使用PyPy制作的virtualenv一样。下面的链接描述了没有virtualenv时的另一种方法。)

有关更多详细信息:http : //pypy.org/download.html#installing-numpy