Closed xueshanf closed 11 years ago
It seems that you have a new version of the aws script (the one with the return awscli.clidriver.main()
) that is importing an older version of the package files. This is a relatively recent change (7dc65d267a6b8a2541a3e6ff1c026a6e20e4d736) and you definitely need to use the right script with the right package. I'm not sure how things are getting confused within your environment.
I cloned the aws-cli from git clone https://github.com/aws/aws-cli.git. Then I built a .deb package (after installed all other dependencies). When I ran /usr/bin/aws command, it generated the following errors:
For trouble-shooting, I installed the package using pip. /usr/local/bin/aws runs without problem.
I noticed that the two 'aws' commands are different (/usr/bin /aws is from git, /usr/local/bin is from pip), see below diff output.
What I have missed? Thanks!