3

I can't get the AWS CLI using python2.7 to work after upgrading to Ubuntu 16.04LTS. I've tried the suggestions from This SO Question from 14.04 Upgrade with no luck. I also uninstalled and reinstalled python2.7. The error I get is ImportError: No module named datetime

JBaczuk
  • 241

1 Answers1

3

I finally decided it must be the AWS CLI because I noticed that it had it's own python directory. So I uninstalled AWS CLI and reinstalled it and that fixed the problem:

sudo pip uninstall awscli

sudo pip install awscli

JBaczuk
  • 241