Eb is not recognized as an internal or external command, operable program or batch file

I have tried installing awscli using pip, anyways with msi installer its working, but i just want to inform you, pip would be convienient for me if people want to write batch files for windows

C:\Users\vasubabu.k>python --version Python 3.6.4 C:\Users\vasubabu.k>pip --version pip 9.0.1 from c:\users\vasubabu.k\appdata\local\programs\python\python36\lib\site-packages (python 3.6) C:\Users\vasubabu.k>pip install awscli Requirement already satisfied: awscli in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages Requirement already satisfied: colorama<=0.3.7,>=0.2.5 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from awscli) Requirement already satisfied: rsa<=3.5.0,>=3.1.2 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from awscli) Requirement already satisfied: botocore==1.9.3 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from awscli) Requirement already satisfied: docutils>=0.10 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from awscli) Requirement already satisfied: s3transfer<0.2.0,>=0.1.12 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from awscli) Requirement already satisfied: PyYAML<=3.12,>=3.10 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from awscli) Requirement already satisfied: pyasn1>=0.1.3 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from rsa<=3.5.0,>=3.1.2->awscli) Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from botocore==1.9.3->awscli) Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from botocore==1.9.3->awscli) Requirement already satisfied: six>=1.5 in c:\users\vasubabu.k\appdata\roaming\python\python36\site-packages (from python-dateutil<3.0.0,>=2.1->botocore==1.9.3->awscli)

later i added aws cli executable to system path

C:\Users\vasubabu.k\AppData\Local\Programs\Python\Python36\Scripts

then i checked for aws command

C:\Users\vasubabu.k>aws 'aws' is not recognized as an internal or external command, operable program or batch file. '''

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

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

2022-08-02T01:26:32+00:00 2022-08-02T01:26:32+00:00

3549

I am trying to install awsebcli on my anycodings_python 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 anycodings_python --upgrade --user awsebcli to install anycodings_python awsebcli it successfully installed it.

Here are my environment variables for PATH:

Total Answers 7

27

Answers 1 : of Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

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

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

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

0

2022-08-02T01:26:32+00:00 2022-08-02T01:26:32+00:00Answer Link

mRahman

1

Answers 2 : of Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

This worked for me:

sudo -H pip3 install awsebcli --upgrade --ignore-installed six

0

2022-08-02T01:26:32+00:00 2022-08-02T01:26:32+00:00Answer Link

joy

2

Answers 3 : of Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

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

0

2022-08-02T01:26:32+00:00 2022-08-02T01:26:32+00:00Answer Link

raja

1

Answers 4 : of Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

I figured out the issue. It looks like I anycodings_python needed to add this to my environment anycodings_python variables:

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

Even though it had the other anycodings_python C:\Users\amirs\... path as well.

0

2022-08-02T01:26:32+00:00 2022-08-02T01:26:32+00:00Answer Link

miraj

1

Answers 5 : of Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

I had the same problem these last few anycodings_python days.

Though the Amazon documentation does not anycodings_python even mention it (i.e. only the following anycodings_python AWS Command-Line Interface home page anycodings_python mentions it, but does not explain that anycodings_python it is required), in addition to the anycodings_python 'awsebcli' package (that also requires anycodings_python the 'boto3' package), you also need to anycodings_python download and install the 'aws-shell' anycodings_python package in order to get the command 'aws anycodings_python configure' to work:

https://aws.amazon.com/cli/

Click through the link for 'aws-shell' anycodings_python to the following GITHUB page and follow anycodings_python the install anycodings_python instructions: https://github.com/awslabs/aws-shell

Then after installation type 'aws anycodings_python configure' in your COMMAND WINDOW as per anycodings_python instructions at the following link, and anycodings_python it will work fine prompting you to enter anycodings_python the necessary AWS ACCESS KEY and SECRET anycodings_python ACCESS KEY:

http://boto3.readthedocs.io/en/latest/guide/quickstart.html

FYI - I tried changing the environment anycodings_python variable path as per your solution as anycodings_python well as in another link, but neither anycodings_python worked for me:

https://forums.aws.amazon.com/thread.jspa?threadID=228638

Thus I had to solve the issue with the anycodings_python true solution to the issue as detailed anycodings_python here.

0

2022-08-02T01:26:32+00:00 2022-08-02T01:26:32+00:00Answer Link

raja

3

Answers 6 : of Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

If you happened to be using Conda for anycodings_python your Python installation, then you might anycodings_python have to add the following path for anycodings_python Elastic Beanstalk to work:

C:\Users\%USERPROFILE%\Anaconda3\Scripts

0

2022-08-02T01:26:32+00:00 2022-08-02T01:26:32+00:00Answer Link

miraj

1

Answers 7 : of Unable to install AWS Elastic Beanstalk CLI (Win10, Python 3.6, Pip 9.0.1)

If the above did not work, create a anycodings_python virtual environment and install it anycodings_python there:

Install venv: pip install anycodings_python virtualenvironment (wherever folder you anycodings_python like): Create venv: python -m venv anycodings_python env Activate venv: windows: anycodings_python evn\Scripts\activate Now yes, install: anycodings_python pip install awsebcli --upgrade

Close the cmd, open another: Try if this anycodings_python work: eb --version

If this work, remember each time you anycodings_python want to use the command eb, you need to anycodings_python activate this venv, going to this path anycodings_python where you created the folder env, and anycodings_python run env\Scripts\activate

0

2022-08-02T01:26:32+00:00 2022-08-02T01:26:32+00:00Answer Link

raja

How do I add EB to my path?

To install the EB CLI.
Run the following command. $ pip install awsebcli --upgrade --user. ... .
Add the path to the executable file to your PATH variable: On Linux and macOS: ... .
Verify that the EB CLI installed correctly by running eb --version. $ eb --version EB CLI 3.14.8 (Python 3.7).

What is EB command?

The EB CLI is a command line interface for AWS Elastic Beanstalk that provides interactive commands that simplify creating, updating and monitoring environments from a local repository. Use the EB CLI as part of your everyday development and testing cycle as an alternative to the Elastic Beanstalk console.

How do I install Amazon workspace in Python?

To install Python 3.7 and pip (Windows).
Download the Python 3.7 Windows x86-64 executable installer from the downloads page of Python.org ..
Run the installer..
Choose Add Python 3.7 to PATH..
Choose Install Now..

Can you pip install AWS CLI?

You can install version 1 of the AWS Command Line Interface (AWS CLI) on Windows by using a standalone installer (recommended) or pip , which is a package manager for Python.