mac python3创建虚拟环境

2024-10-13 00:27:53

1、这里使用的是 mac 环境,首先安装 python3。mac 中自带 python2 的环境,如果想到安装 python3 ,输入 brew install python

mac python3创建虚拟环境

3、创建虚拟环境,执行python3 -m venv .venv,执行完后会自动安装 pip

mac python3创建虚拟环境
猜你喜欢