python创建虚拟环境

一、创建虚拟环境
1.安装pipenv
pip install -i https://pypi.douban.com/simple ;pipenv

2.创建虚拟环境
a.打开terminal
b.pipenv shell
c.pipenv --venv 查看虚拟环境的路径

3.选择虚拟环境中的解释器

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

posted @ 2020-11-25 21:14  mkay  阅读(97)  评论(0编辑  收藏  举报