I noticed that the aws command was stuck and for some reason python was back to 2.6.
Such an error
Traceback (most recent call last):
File "/usr/local/bin/aws", line 19, in <module>
import awscli.clidriver
ImportError: No module named awscli.clidriver
$ alternatives --display python
python -The status is manual.
Link is now/usr/bin/python2.Pointing to 6.
/usr/bin/python2.6 -Priority item 2600
:
:
/usr/bin/python2.7 -Priority item 27000
Specify 2.7.
$ sudo alternatives --set python /usr/bin/python2.7
$ python -V
Python 2.7.9
returned.
Recommended Posts