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.  64 bit python for AIX

    Posted Tue March 13, 2018 01:53 PM

    Originally posted by: ITDtaddmjunkie


    Hi,

    We are needing to use 64bit Python and wondering where to get the version for AIX? It seems the python package in AIX tools is 32bit python.

    Thanks,

    Jim



  • 2.  Re: 64 bit python for AIX

    Posted Thu March 15, 2018 02:24 AM

    Originally posted by: AyappanP


    64bit Python is also shipped with the same rpm but we are not making it as default. The reason behind this is there are lot of other python modules which are shipped only as 32bit. Those modules won't work with 64bit python.



  • 3.  Re: 64 bit python for AIX

    Posted Fri October 26, 2018 03:04 PM

    Originally posted by: Teej42


    I want to follow up on this -- 

    Which modules are incompatible with 64 bit Python?  Does that list include Numpy/Scipy and Pandas?  I am trying to import and compile Numpy in 64 bit mode, but is having a roadblock of getting gfortran to compile in 64 bit mode (apparently, it won't take the CC/CFLAG/et cetera env var).

    This all comes from Python_64 failing to run those modules, and regular python keeping throwing a OOM error when we try to run our program that is quite demanding on memory resources.

    Please advise.  Thanks.



  • 4.  Re: 64 bit python for AIX

    Posted Wed October 31, 2018 10:21 AM

    Originally posted by: AyappanP


    For gfortran. use FFLAGS. 

    It's the same way how one build 32-bit modules. Only thing you should be using 64bit python and proper flags "-maix64" 



  • 5.  Re: 64 bit python for AIX

    Posted Mon March 19, 2018 02:15 PM

    Originally posted by: ITDtaddmjunkie


    Follow up question, but first a statement that I am not a Python guru and posting these questions for a team member:

    Our specific setup requires these modules, and I am told they were not found in this package:

    pip install wheel

    pip install xlrd

    pip install XlsxWriter
    pip install numpy
    pip install matplotlib
    pip install pandas
    pip install openpyxl

    pip install paramiko

    pip install unicodecsv

     

     

    Do these exist for AIX?



  • 6.  Re: 64 bit python for AIX

    Posted Wed March 28, 2018 05:31 AM

    Originally posted by: sanket


     

    There are many python modules those are not architecture dependent and can be installed using pip.

    We are not providing all the python module as rpm as it will be unmanageable. 

    The python modules provided on AIX toolbox as rpm were actually needed for some other package like cloud-init or ansible etc.

    Hence only those python modules are provided.



  • 7.  Re: 64 bit python 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.