flask之python3 虚拟环境
2021-06-27 20:07
标签:utils shel href led and bin within lib activate
Python 3 comes bundled with the venv
module to create virtual environments
Create an environment
Create a project folder and a venv
folder within:
mkdir myproject
cd myproject
python3 -m venv venv
Activate the environment
Before you work on your project, activate the corresponding environment:
. venv/bin/activateYour shell prompt will change to show the name of the activated environment
Install Flask
Within the activated environment, use the following command to install Flask:
pip install Flask
flask之python3 虚拟环境
标签:utils shel href led and bin within lib activate
原文地址:https://www.cnblogs.com/zxpo/p/9650891.html
上一篇:python介绍
文章标题:flask之python3 虚拟环境
文章链接:http://soscw.com/index.php/essay/98576.html