[Wheel-builders] [manylinux] how to build numpy/scipy wheels for x86

Nathaniel Smith njs at pobox.com
Thu Apr 21 09:49:35 EDT 2016


Note also FYI that there are now some carefully tested, official manylinux
builds of numpy and scipy posted on pypi. If you want to make your own
wheels instead then there's no reason why you shouldn't, it's all free
software :-). But if you just want to get some wheels that work then
downloading those might save you some time.

(The tricky part is BLAS.)

-n

On Apr 21, 2016 6:32 AM, "Matthias Hafner" <hafner87 at gmail.com> wrote:
>
> Hi guys,
>
>
> I’m first of all very happy about this project/PEP. Many thanks to you
for making this happen.
>
>
> This is what I’ve tried so far in the manylinux1_i686 container:
>
>
> bash-3.2# python/cp27-cp27mu/bin/pip wheel scipy
>
> Collecting scipy
>
>   Downloading scipy-0.17.0.tar.gz (12.4MB)
>
>     100% |████████████████████████████████| 12.4MB 102kB/s
>
> Collecting numpy>=1.6.2 (from scipy)
>
>   Downloading numpy-1.11.0.tar.gz (4.2MB)
>
>     100% |████████████████████████████████| 4.2MB 196kB/s
>
> Building wheels for collected packages: scipy, numpy
>
>   Running setup.py bdist_wheel for scipy ... error
>
>   Complete output from command
/opt/_internal/cpython-2.7.11-ucs4/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-EW8Dw4/scipy/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
bdist_wheel -d /tmp/tmp6hYt6Xpip-wheel-:
>
>   Traceback (most recent call last):
>
>     File "<string>", line 1, in <module>
>
>     File "/tmp/pip-build-EW8Dw4/scipy/setup.py", line 265, in <module>
>
>       setup_package()
>
>     File "/tmp/pip-build-EW8Dw4/scipy/setup.py", line 253, in
setup_package
>
>       from numpy.distutils.core import setup
>
>   ImportError: No module named numpy.distutils.core
>
>
>   ----------------------------------------
>
>   Failed building wheel for scipy
>
>   Running setup.py clean for scipy
>
>   Running setup.py bdist_wheel for numpy ... done
>
>   Stored in directory: /opt
>
> Successfully built numpy
>
> Failed to build scipy
>
> ERROR: Failed to build one or more wheels
>
> bash-3.2# python/cp27-cp27mu/bin/pip install
>
> _internal/
numpy-1.11.0-cp27-cp27mu-linux_x86_64.whl  python/
           rh/
>
> bash-3.2# python/cp27-cp27mu/bin/pip install
numpy-1.11.0-cp27-cp27mu-linux_x86_64.whl
>
> numpy-1.11.0-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on
this platform.
>
>
>
> Thanks for any help!
>
> Matthias
>
>
> _______________________________________________
> Wheel-builders mailing list
> Wheel-builders at python.org
> https://mail.python.org/mailman/listinfo/wheel-builders
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/wheel-builders/attachments/20160421/b848c5ad/attachment-0001.html>


More information about the Wheel-builders mailing list