Skip to content

Python virtualenv

Last updated on January 29, 2023

cmd as admin
pip install virtualenvcd c:\giti2022\virtual_envs

* Note: you should not be saving your project files into this virtual environment. *

All that goes into these environments are packages and dependencies — especially the second one.

c:\giti2022\virtual_envs>virtualenv marcus_1c:\giti2022\virtual_envs>cd


pip install flask

(marcus_1) c:\giti2022\virtual_envs\marcus_1>cd..
(marcus_1) c:\giti2022\virtual_envs>cd..
(marcus_1) c:\giti2022>cd marcus

(marcus_1) c:\giti2022\marcus>python


Published in5 minPython