Monday, 13 June 2022

How to create virtual env in windows 10

 open anaconda and go to the path where you want to create virtual environment.

Type

python -m venv this_is_env_name


Here you have created virtual environment and you have to activate it.


.\this_is_env_name\Scripts\activate


To Deactivate:

.\this_is_env_name\Scripts\deactivate

No comments:

Post a Comment