Sublime Python3 虚拟环境配置详解

Sublime Python3 虚拟环境配置详解

建立 Sublime 的软链接

$ ln /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/

相关学习推荐:Python3视频教程

开始

创建项目文件夹,进入目录
Sublime Python3 虚拟环境配置
创建 Test2 项目,使用 Sublime 打开
Sublime Python3 虚拟环境配置

$ python3 -m venv env

Sublime Python3 虚拟环境配置

激活虚拟 python 环境

$ source ./env/bin/activate

Sublime Python3 虚拟环境配置

退出虚拟 python 环境

$ deactivate

以上就是Sublime Python3 虚拟环境配置详解的详细内容,更多请关注https://www.sxiaw.com/其它相关文章!