📜  如何在 Windows 中激活 virtualenv - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:36.847000             🧑  作者: Mango

代码示例6
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