Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10 ModuleNotFoundError: No module named 'virtualenv' Exiting due to failure #112

Open
MaxmaxmaximusAWS opened this issue Jun 29, 2021 · 2 comments

Comments

@MaxmaxmaximusAWS
Copy link

==============================================
II. Creating self-contained EBCLI installation

Installing the EBCLI in C:\Users\me.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:\Users\me\aws-elastic-beanstalk-cli-setup\scripts\virtualenv\bin\virtualenv.exe_main
.py", line 5, in
ModuleNotFoundError: No module named 'virtualenv'
Exiting due to failure
PS C:\Users\me>

@MaxmaxmaximusAWS
Copy link
Author

MaxmaxmaximusAWS commented Jun 29, 2021

temp solution:

pip install virtualenv

but this is still a bug and virtualenv should install automatically by script

@xeladsn
Copy link

xeladsn commented Dec 5, 2021

This comment has been the solution for me : #19 (comment).

Seemed that powershell or windows prompt had to be run as admin to add virtualenv to PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants