📜  如何在 python 3 中创建虚拟环境 - Python 代码示例

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

代码示例6
#for linux

#install venv capabilities
sudo apt-get install python3-venv

#create the virtual environment
python3 -m venv environment_name_here

#activate virtual environment
source environment_name_here/bin/activate