install virtual envirnment in local computer in python

technical talkiess
0

 1)  Open power shell using admin access and run following command


pip install virtualenv


2) create virtual environment with name 


virtualenv envName


3) activate the env 

.\envName\Scripts\activate


4)  deactivate the environment 


 deactivate


5) create all install module and package list using the requirement.txt file 


 pip freeze  > requiments.txt


6) if you want to install some module use the following command


 pip install math


7) if you want to give your local computer environment code with module list ... and install the another computer use following command


 pip install -r .\requiments.txt


8) if you want to install the localcomputer all python file and module in environment so you can use the following command


virtualenv --system-site-packages vishal 2






Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)