在 Python 应用程序中设置和使用 Python Venv

安装:

已经安装在 MacOS 和 Windows 平台上,但需要安装在某些 Linux 发行版上,这里是不同包管理器的

安装指南:

sudo apt install python3-env # using apt
sudo dnf install python3-env # using dnf
sudo pacman -S python3-env # using pacman

创建虚拟环境:

python -m venv <en

你可能感兴趣的:(Python,教程,python,开发语言)