Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

virtualenv install command not found on windows

I have a windows machine (I know, I keep trying to get the work to get me a mac)

I installed python, I installed pip

and I attempt to install virtualenv

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I am using git bash (since its a nice interface that works like a linux terminal)

when I pip install virtualenv

pip install virtualenv 
Requirement already satisfied: virtualenv in c:\users\christopherjakob\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (20.13.0)

same when i use venv

but when i try and create a virutalenv

virtualenv secretsManagerMCE-IMPL-LAMBDA
bash: virtualenv: command not found

I have been searching and I have no idea what the fix is. I have seen similar stack overflow posts but none of them discuss developing on windows

>Solution :

The following command works on Windows:

python -m venv ./venv

See https://docs.python.org/3/tutorial/venv.html

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading