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

Matthias Hafner hafner87 at gmail.com
Thu Apr 21 04:29:07 EDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/wheel-builders/attachments/20160421/eb0c0316/attachment.html>


More information about the Wheel-builders mailing list