AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  python 2.7.12 is available for AIX

    Posted Wed February 22, 2017 09:32 AM

    Originally posted by: sanket


    python 2.7.12 and all its dependencies are available on AIX toolbox.

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/python/python-2.7.12-2.aix6.1.ppc.rpm

    You can also use YUM to install python2.7.12

     

    Thanks

    Sanket



  • 2.  Re: python 2.7.12 is available for AIX

    Posted Fri April 13, 2018 05:49 AM

    Originally posted by: Ramshanker


    Heloo,

     

    With 2.7.x, does the package like Pandas and Numpy come?

    When we did pip install pandas, we got the following error on Python 2.7.13.

    Please advice.

     

    Thanks and Regards

    Ramshanker

     

    "/usr/include/math.h", line 1001.15: 1540-1202 (I) No candidate is better than "abs(double)".
       "pandas/io/msgpack/_packer.cpp", line 8568.30: 1540-1231 (I) The conversion from argument number 1 to "double" uses "an lvalue-to-rvalue transformation" followed by "a floating point-integral conversion".
       "/usr/include/stdlib.h", line 798.18: 1540-1202 (I) No candidate is better than "abs(int)".
       "pandas/io/msgpack/_packer.cpp", line 8568.30: 1540-1231 (I) The conversion from argument number 1 to "int" uses "an lvalue-to-rvalue transformation" followed by "an integral conversion".
       error: command 'xlc_r' failed with exit status 1

       ----------------------------------------
    Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-btHaja/pandas/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-Ro6F7h-record/install-record.txt --single-version-externally-managed --compile --prefix=/ecurep/admin/aoa/plugin-customer/W4TSS_SVC/python2.7" failed with error code 1 in /tmp/pip-build-btHaja/pandas/

     



  • 3.  Re: python 2.7.12 is available for AIX

    Posted Fri April 20, 2018 09:46 AM

    Originally posted by: AyappanP


    We don't have Pandas and Numpy available/ported in AIX Toolbox.

    Just checking the official documentation of Pandas, it seems like pip install pandas will do some code compilation as well. http://pandas.pydata.org/pandas-docs/stable/install.html#installing-from-pypi

    And compilation failures of this sort will be difficult to fix for normal AIX users unless they have prior experience in this. We haven't ported this yet so not sure about the complexity.

    That being said, there is no easy solution for the above problem. You can try to fix things yourself here but that will take time and effort.

    What i can tell here is we can keep these packages in our ToDo list and decide based upon usage, priority & complexity.



  • 4.  Re: python 2.7.12 is available for AIX

    Posted Mon March 04, 2019 02:24 AM

    Originally posted by: sanket


    Here is the tutorial how to install ML tools (NumPy, SciPy, Matplotlib, Pandas, scikit-learn and other on AIX)

    https://developer.ibm.com/tutorials/machine-learning-with-python-on-aix/

     

    I hope this will be helpful.