Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No module named numpy with pypy

This question is related to Using Numpy with pypy

I tried to use

pip install git+https://bitbucket.org/pypy/numpy.git

The system (Fedora release 24 (Twenty Four)) said

git: 'submodule' is not a git command. See 'git --help'. Command "git submodule update --init --recursive -q" failed with error code 1 in /tmp/pip-LD8rrP-build

Still it seems that numpy is not compatible with pypy.

Is there any solution for this problem? P.S. I managed to setup it on ubuntu, but not fedora..

Additional information:

Fedora release 24 (Twenty Four)

pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)

git version 2.7.4

like image 498
Rodriguez Avatar asked Mar 16 '17 00:03

Rodriguez


1 Answers

You're referring to a 6-years-old post. The current, preferred way to install numpy on PyPy is simply pip install numpy. (This assumes pip refers to the PyPy version, like it does in a virtualenv made with PyPy. The link below describes an alternate way if you don't have virtualenv.)

For more details: http://pypy.org/download.html#installing-numpy

like image 179
Armin Rigo Avatar answered Sep 18 '22 00:09

Armin Rigo