AIXTOOLS, IBM AIX and POWER Portal

AIX => AIXTOOLS => Topic started by: Michael on December 29, 2019, 06:58:18 PM

Title: Python and wheels continuing story
Post by: Michael on December 29, 2019, 06:58:18 PM
While it may take some investigation to get environment variables correct - eventually this does work!
For example - one of the scientific Python modules - numpy.

root@x069:[/python]pip wheel numpy
Collecting numpy
  Using cached https://files.pythonhosted.org/packages/31/0a/5df350c29a06835d534a6c4f5681075304da38d85f1c69e5226a635a67ce/numpy-1.18.0.zip
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: numpy
  Building wheel for numpy (PEP 517) ... done
  Created wheel for numpy: filename=numpy-1.18.0-cp37-cp37m-AIX_7104_1845_64.whl size=7130503 sha256=b5456e8aefb80a0ff714532d697f4f115bcbe7d8bd2871593c0bb0b93cac10fd
  Stored in directory: /python
Successfully built numpy

Wheels means no compiler needed for later installs and an installation in a virtualenv is also possible (aka python -m pip --user ....)