Issue
I'm installing the Elastic Beanstalk CLI from Github on a Windows machine, but it keeps erroring out because of virtualenv. I get this error:
C:\Users\bigji\Bootcamp\NODE\ClassActivities\EB-CLI>python .\aws-elastic-beanstalk-cli-setup\scripts\ebcli_installer.py
***********************************
1. Locating virtualenv installation
***********************************
ERROR: Could not find and "virtualenv" installed. Ensurevirtualenv is installed and that it is in PATH before executingthis script.
******************************************
2. Creating exclusive virtualenv for EBCLI
******************************************
'virtualenv' is not recognized as an internal or external command,
operable program or batch file.
I've installed virtualenv, and can see it in the scripts folder from which I'm trying to run ebcli_installer. I've added the scripts folder, the virtualenv folder, and the folder containing virtualenv.exe to PATH (using edit environment variables), and I've searched other virtualenv problems on StackOverflow and not found anything that can help.
This is my first time with anything AWS, and my first time adjusting PATH. Can anyone suggest how to get the installer to find the virtualenv command?
Solution
On the install scripts README there are steps that should resolve your scenario.
Try running:
pip uninstall -y virtualenv
pip install virtualenv
python .\aws-elastic-beanstalk-cli-setup\scripts\ebcli_installer.py
If this doesn't solve the issue some additional debugging will be necessary.
Answered By - Hal Carleton Answer Checked By - Pedro (WPSolving Volunteer)