python3 配置虚拟环境

参考链接:https://docs.python.org/zh-cn/3/tutorial/venv.html

 

1.创建一个目录:

mkdir dir

2.进入目录:

cd dir/

3. 执行 python -m venv .

4. 

source ./bin/activate

生效

posted @ 2019-11-10 12:57  风中飞儿  阅读(218)  评论(0编辑  收藏  举报