I'm running arch and when I try to use aws in the terminal I get a python-like error:
aws
Traceback (most recent call last): File "/usr/bin/aws", line 19, in <module> import awscli.clidriver ModuleNotFoundError: No module named 'awscli'
This happened for pip as well which I resolved by python -m ensurepip but I don't know why it was like that in the first place. I even tried explicitly adding the path to aws to my PATH to no avail.
pip
python -m ensurepip
PATH
Well, pip and other applications are in fact python programs. Apparently you just lack the 'awscli' module. A first try would be just install this module.
1.4m articles
1.4m replys
5 comments
57.0k users