Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

I am trying to install awsebcli on my machine and I am unable to run the command

eb --version

It shows this error:

'eb' is not recognized as an internal or external command,

operable program or batch file.

This is my Python version:

C:\>python --version
Python 3.6.0

This is my pip version:

C:\>pip --version
pip 9.0.1 from c:\users\amirs\appdata\local\programs\python\python36\lib\site-packages (python 3.6)

When I ran this command pip install --upgrade --user awsebcli to install awsebcli it successfully installed it.

Here are my environment variables for PATH: enter image description here

like image 893
Amir Avatar asked Jan 18 '17 20:01

Amir


3 Answers

After a great deal of running around I managed to figure out that I was missing an additional PATH entry, both of these were required to get eb to run on windows:

%USERPROFILE%\AppData\Local\Programs\Python\Python36\Scripts
%USERPROFILE%\AppData\Roaming\Python\Python36\Scripts

NOTE: If you have Python 3.7 installed, change "Python36" to "Python37" in both of the path entries.

like image 200
Adrian Seeley Avatar answered Oct 19 '22 15:10

Adrian Seeley


This worked for me:

sudo -H pip3 install awsebcli --upgrade --ignore-installed six
like image 43
Jordan Daniels Avatar answered Oct 19 '22 15:10

Jordan Daniels


This PATH worked for me...

%USERPROFILE%\AppData\Roaming\Python\Scripts;
%USERPROFILE%\AppData\Local\Programs\Python\Python36\Scripts;
%USERPROFILE%\AppData\Roaming\Python\Python36\Scripts;
C:\Program Files\Amazon\AWSCLI
like image 8
chad steele Avatar answered Oct 19 '22 16:10

chad steele