aws-elastic-beanstalk-cli-setup icon indicating copy to clipboard operation
aws-elastic-beanstalk-cli-setup copied to clipboard

ModuleNotFoundError: No module named 'virtualenv'

Open bennycode opened this issue 4 years ago • 2 comments

1. Please specify the following:

  • OS: Windows 10
  • Shell (Bash, PowerShell, Zsh, etc.): cmd

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

bennycode avatar Mar 25 '20 16:03 bennycode

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

rahulrajaram avatar Mar 26 '20 04:03 rahulrajaram

@rahulrajaram Solution is work. Thank you.

minkbear avatar Apr 09 '20 05:04 minkbear