Install Python 3 on an AWS EC2 instance?


Error: No package python3 available.

sudo yum install python3 -y
Loaded plugins: priorities, update-motd, upgrade-helper
No package python3 available.
Error: Nothing to do

If you get above error, try this commend to Install Python 3 on an AWS EC2 instance

~$ sudo yum list | grep phython3
~$ sudo yum install python34
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
–> Running transaction check
—> Package python34.x86_64 0:3.4.10-1.45.amzn1 will be installed
–> Processing Dependency: python34-libs(x86-64) = 3.4.10-1.45.amzn1 for package: python34-3.4.10-1.45.amzn1.x86_64
–> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package: python34-3.4.10-1.45.amzn1.x86_64
–> Running transaction check
—> Package python34-libs.x86_64 0:3.4.10-1.45.amzn1 will be installed
–> Finished Dependency Resolution

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.