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
Expand all | Collapse all

AWS stopped working after Python3 upgrade

  • 1.  AWS stopped working after Python3 upgrade

    Posted Mon January 10, 2022 09:05 AM
    Hello 

    I have upgraded python3.7.9 version in AIX  after that AWS has stopped working because its has dependency with python2.7 we had to remove python2 removed during the python3 installation because of error we ware facing
    Below is the error which we are getting now for AWS. please suggest how to resolve this   

    dsadm@server:/opt/freeware/bin # aws help
    sh: aws: not found.

    Is it possible to keep both python2.7 and python3.7. 9 together in the system? because if re-install python2 we may face issue for python3.7.9 so please suggest

    ------------------------------
    Milind Sarkate
    ------------------------------


  • 2.  RE: AWS stopped working after Python3 upgrade

    Posted Tue January 11, 2022 06:13 AM

    Since awscli doesn't exist in the toolbox, you must have installed it via PIP, so it's not a case that it stopped working, it's a case that you've removed python/pip v2.

    Did you try to reinstall awscli with pip3?

    And yes, you can have python2 and python3 installed on the same machine.



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------