Python 虚拟环境的使用

Code and life

Download .zip Download .tar.gz

Python 虚拟环境的使用

创建虚拟环境

在当前目录创建虚拟环境

python3 -m venv .

Windows 下进入虚拟环境

.\Scripts\activate

Windows 下退出虚拟环境

deactivate