python3 -m venv <path> # 创建虚拟环境 source <path>/bin/activate # 激活虚拟环境 deactivate # 退出虚拟环境
venv — Creation of virtual environments Python Packaging User Guide Installing Python Modules Distributing Python Modules