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
------------------------------
Original Message:
Sent: Mon January 10, 2022 09:05 AM
From: Milind Sarkate
Subject: AWS stopped working after Python3 upgrade
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
------------------------------