Home>Article>Backend Development> Detailed explanation of Sublime Python3 virtual environment configuration

Detailed explanation of Sublime Python3 virtual environment configuration

coldplay.xixi
coldplay.xixi forward
2020-07-02 17:48:53 3275browse

Detailed explanation of Sublime Python3 virtual environment configuration

Establish a soft link to Sublime

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

Related learning recommendations:Python3 video tutorial

Start

Create the project folder, enter the directory
Sublime Python3 虚拟环境配置
Create the Test2 project, use Sublime to open
Sublime Python3 虚拟环境配置

$ python3 -m venv env

Sublime Python3 虚拟环境配置

Activate virtual python environment

$ source ./env/bin/activate

Sublime Python3 虚拟环境配置

Exit virtual python environment

$ deactivate

The above is the detailed content of Detailed explanation of Sublime Python3 virtual environment configuration. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:learnku.com. If there is any infringement, please contact admin@php.cn delete