美文网首页
pipenv简单使用

pipenv简单使用

作者: 求墨者 | 来源:发表于2018-12-07 16:46 被阅读15次

1.Mac下安装

$ brew install pipenv

2.创建python3环境

$ mkdir foo
$ pipenv --three

3.进入环境

$ pipenv shell

4.退出环境

(foo) $ exit

5.查看环境目录

$ pipenv --venv

6.删除环境

$ pipenv --rm

7.帮助

$ pipenv --help

8.配合pyenv使用

$ pipenv --python 3.6.7

参考资料:

pipenv · PyPI

pipenv使用

利用pipenv和pyenv管理多个相互独立的Python虚拟开发环境

相关文章

网友评论

      本文标题:pipenv简单使用

      本文链接:https://www.haomeiwen.com/subject/jbtxhqtx.html