aws / aws-elastic-beanstalk-cli-setup

Simplified EB CLI installation mechanism.
Apache License 2.0
515 stars 226 forks source link

ModuleNotFoundError: No module named 'virtualenv' #75

Open bennycode opened 4 years ago

bennycode commented 4 years ago

1. Please specify the following:

2. Description

I executed the following 2 commands (without having Python 3.7.3 installed) in my Command Prompt on Windows 10:

git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git
./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer

After doing that I received the following error:

==============================================
II. Creating self-contained EBCLI installation
==============================================
Installing the EBCLI in C:\Users\bn\.ebcli-virtual-env

******************************************
1. 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:\dev\env\aws-elastic-beanstalk-cli-setup\scripts\virtualenv\bin\virtualenv.exe\__main__.py", line 5, in <module>
ModuleNotFoundError: No module named 'virtualenv'
Exiting due to failure

Screenshot

image

rahulrajaram commented 4 years ago

@bennyn , thanks for reaching out. Unfortunately, this is a long-standing issue. Please find the current workaround here.

minkbear commented 4 years ago

@rahulrajaram Solution is work. Thank you.