aws-elastic-beanstalk-cli-setup
aws-elastic-beanstalk-cli-setup copied to clipboard
Windows 10 ModuleNotFoundError: No module named 'virtualenv' Exiting due to failure
============================================== II. Creating self-contained EBCLI installation
Installing the EBCLI in C:\Users\me.ebcli-virtual-env
- Creating exclusive virtualenv for EBCLI
Traceback (most recent call last):
File "c:\program files\python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\program files\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\me\aws-elastic-beanstalk-cli-setup\scripts\virtualenv\bin\virtualenv.exe_main.py", line 5, in
temp solution:
pip install virtualenv
but this is still a bug and virtualenv should install automatically by script
This comment has been the solution for me : https://github.com/aws/aws-elastic-beanstalk-cli-setup/issues/19#issuecomment-497930712.
Seemed that powershell or windows prompt had to be run as admin to add virtualenv to PATH.