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 modules for AIX 7.1

    Posted Fri January 25, 2019 02:43 PM

    Originally posted by: AnandSivasubramanain


    Hi,

    one of our application team members is requesting below python modules to be installed. The LPAR is at 7100-05-01 and it has python version 2.7.10-1 installed. Now the requirement is to install the below python modules. Where can I get them. Any ideas? None of our LPARs are internet facing, is there a way I could download them as a bundle and install them? Do I need the python-pip rpm to be installed to do this?

     

    -pandas
    -numpy
    -scipy
    -pydobc
    -sklearn
    -matplotlib
    -sqlalchemy-teradata
    -tabulate
    -teradatasql
    -teradatasqlalchemy
    -sqlalchemy

    -keras
    -pyspark
    -xgboost
    -lightgbm
    -catboost
    -pytorch
    -eli5
    -nltk
    -spacy
    -scrapy
    -gensim
    -tensorflow
    -statsmodel
    -searborn



  • 2.  Re: python modules for AIX 7.1

    Posted Sat January 26, 2019 09:01 AM

    Originally posted by: AyappanP


    Install the latest python 2.7.15-3 from AIX Toolbox. We also have python3 (3.7.1).

    Default python is python2 (32bit). 

    pip is the best way to install python modules with or without internet. 



  • 3.  Re: python modules for AIX 7.1

    Posted Sat January 26, 2019 04:22 PM

    Originally posted by: AnandSivasubramanain


    Thank you for your reply. Can you say where I can get those modules downloaded from? Is there a link like our toolbox site where this is made available for AIX?



  • 4.  Re: python modules for AIX 7.1

    Posted Mon January 28, 2019 04:04 AM

    Originally posted by: AyappanP


    For python2, you can get the pip rpm (python-pip & it's dependency python setuptools) from AIX toolbox.

    After installing, please upgrade them using "pip install --upgrade <pip/setuptools> "

    "pip install" downloads the package source code (from PYPI repo), then compiles & installs it.

    For python3, use "python3 -m pip install <package>" 

    Since outbound access is not there for the machines, you need to manually download and copy the source tarballs to the machine and iinvoke pip like below

    pip install <package.tar.gz>

     



  • 5.  Re: python modules for AIX 7.1

    Posted Mon January 28, 2019 04:05 AM

    Originally posted by: AyappanP


    Official python repository --> https://pypi.org/