I had the same problem in the last few days.
Although the Amazon documentation doesn’t even mention this (i.e. only the next AWS command line interface homepage is mentioned, it doesn’t explain that it is necessary), in addition to the awsebcli package (which also requires the boto3 package), you also need download and install the aws-shell package to get the aws configure command:
https://aws.amazon.com/cli/
Follow the link for "aws-shell" to the next GITHUB page and follow the installation instructions: https://github.com/awslabs/aws-shell
Then, after installing the “aws configure” type in your COMMAND WINDOW according to the instructions in the following link, it will work with a prompt to enter the necessary access key to AWS and SECRET ACCESS KEY:
http://boto3.readthedocs.io/en/latest/guide/quickstart.html
FYI - I tried to change the path to the environment variable according to your solution, as well as in another link, but it didn’t work for me:
https://forums.aws.amazon.com/thread.jspa?threadID=228638
Thus, I had to solve the problem with a true solution to the problem, as described here.
source share