diff --git a/download.html b/download.html index 7935f316ec1282680e1b27ec452ea497ae231eef_ZG93bmxvYWQuaHRtbA==..0ef10b1892275e7ed708559cdf2f7492c06cc450_ZG93bmxvYWQuaHRtbA== 100644 --- a/download.html +++ b/download.html @@ -213,6 +213,5 @@ <p>NumPy is an exception to the rule that most packages work without changes. The “numpy” module needs to be installed from <a class="reference external" href="https://bitbucket.org/pypy/numpy">our own repository</a> rather than from the official source.</p> -<p>If you have pip (the command-line assumes that it finds the pip -belonging to PyPy, not the one from CPython):</p> +<p>If you have pip:</p> <pre class="literal-block"> @@ -218,5 +217,5 @@ <pre class="literal-block"> -pip install git+https://bitbucket.org/pypy/numpy.git +pypy -m pip install git+https://bitbucket.org/pypy/numpy.git </pre> <p>Alternatively, the direct way:</p> <pre class="literal-block"> @@ -224,4 +223,8 @@ cd numpy pypy setup.py install </pre> +<p>If you installed to a system directory, you need to also run this once:</p> +<pre class="literal-block"> +sudo pypy -c 'import numpy' +</pre> <p>Note that NumPy support is still a work-in-progress, many things do not @@ -227,5 +230,6 @@ <p>Note that NumPy support is still a work-in-progress, many things do not -work and those that do may not be any faster than NumPy on CPython.</p> +work and those that do may not be any faster than NumPy on CPython. +For further instructions see <a class="reference external" href="https://bitbucket.org/pypy/numpy">the pypy/numpy repository</a>.</p> </div> <div class="section" id="building-from-source"> <span id="translate"></span><h1>Building from source</h1> diff --git a/source/download.txt b/source/download.txt index 7935f316ec1282680e1b27ec452ea497ae231eef_c291cmNlL2Rvd25sb2FkLnR4dA==..0ef10b1892275e7ed708559cdf2f7492c06cc450_c291cmNlL2Rvd25sb2FkLnR4dA== 100644 --- a/source/download.txt +++ b/source/download.txt @@ -202,6 +202,5 @@ .. __: https://bitbucket.org/pypy/numpy -If you have pip (the command-line assumes that it finds the pip -belonging to PyPy, not the one from CPython):: +If you have pip:: @@ -207,5 +206,5 @@ - pip install git+https://bitbucket.org/pypy/numpy.git + pypy -m pip install git+https://bitbucket.org/pypy/numpy.git Alternatively, the direct way:: @@ -213,5 +212,9 @@ cd numpy pypy setup.py install +If you installed to a system directory, you need to also run this once:: + + sudo pypy -c 'import numpy' + Note that NumPy support is still a work-in-progress, many things do not work and those that do may not be any faster than NumPy on CPython. @@ -216,5 +219,9 @@ Note that NumPy support is still a work-in-progress, many things do not work and those that do may not be any faster than NumPy on CPython. +For further instructions see `the pypy/numpy repository`__. + +.. __: https://bitbucket.org/pypy/numpy + .. _translate: