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?
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.
The troubleshooting steps did not solve the problem completely, because my virtualenv script was not added to my environmental PATH settings. I had to add the directory ./Python/Python39/Scripts manually, then restart and it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With