Horje
create venv in windows Code Example
create venv in windows
# windows
python -m venv <venv-name>
# To activate
#C:\Users\..\<venv-name>
.\Scripts\activate.bat
python virtual environment
python3 -m venv env
python -m virtualenv env #py2

source env/bin/activate

#all this is on same directory
activate virtualenv windows
venv\Scripts\activate
python create virtualenv
pip install virtualenv # install first
cd projectfolder # go to project folder
python -m venv ./venv # Create a virtual environment named venv
Activate.ps1 # (powershell) start the file  to start the environment
activate.bat # (cmd) start the file  to start the environment
# if it worked you'll see a (venv) in front of your cursor path
how to activate virtualenv in windows
for windows
make a directory using mkdir nameofthedirectory
enter the directory using cd
then enter the following :
>pip install virtualenv
then name the virtualenv
>virtualenv somename
then activate the virtualen
on Windows, virtualenv creates a batch file

>\yourvirtuallenname \Scripts\activate.bat
start python virtual
activate venv




Shell

Related
cluster-info Code Example cluster-info Code Example
remove index.lock git Code Example remove index.lock git Code Example
check if kubernetes is running Code Example check if kubernetes is running Code Example
change process name pm2 Code Example change process name pm2 Code Example
kubernetes get cluster info Code Example kubernetes get cluster info Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
16