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

Detailed explanation of Sublime Python3 virtual environment configuration

coldplay.xixi
Release: 2020-07-02 17:48:53
forward
3415 people have browsed it

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/
Copy after login

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
Copy after login

Sublime Python3 虚拟环境配置

Activate virtual python environment

$ source ./env/bin/activate
Copy after login

Sublime Python3 虚拟环境配置

Exit virtual python environment

$ deactivate
Copy after login

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!

Related labels:
source:learnku.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template