Skip to content
Advertisement

s3cmd ImportError: No module named S3.Exceptions

Received an error after installing and trying to run s3cmd 1.0.0

JavaScript

This error came about after upgrading to the latest Amazon Linux distro 2015.03.0

Advertisement

Answer

Looks like the error happened because python2.7 is now the default python version in the Amazon Linux 2015.03.0+ If you change python back to 2.6 and run s3cmd it should work without a problem

JavaScript

After the s3cmd command is ran you can put python back to 2.7 for yum and other utilities:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement