跳转至

venv虚拟环境


基础

Debian 安装

sudo apt install python3-venv

创建虚拟环境

python3 -m venv 虚拟环境名称

激活虚拟环境

source 名称/bin/activate

退出虚拟环境

deactivate