pip
in the directory structure I unzipped into.git
on Windows, but also I'm suspicious this option might involve compiling source code from https://bitbucket.org/pypy/numpy.git
, and might not even be possible (or require a lot of hacking) on Windows.ConnectionError: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /packages/py2.py3/p/pip/pip-1.5.4-py2.py3-none-any.whl (Caused by <class 'httplib.BadStatusLine'>: ')
. See, e.g., this bug report. However I was able to install pip via Microsoft Visual Studio PTVS by right-clicking PyPy 2.7 under Python environments in Solution Explorer, selecting Install Python Package. This failed to install numpy (with another connection error) but did install pip.pip install git+https://bitbucket.org/pypy/numpy.git
. First of all I needed to install git to do this... no problem. But then it failed with the followingUnable to find vcvarsall.bat
. However, taking a hint from this answer, vcvarsall.bat
can be found if you set the environment variable VS90COMNTOOLS
to the appropriate directory. In my case I have VS2012, so the appropriate line is