简介


requests库的作者,requests库的作者,requests库的作者(重要的事情说三遍)的又一力作,囊落了virtualenv, pip, pipfile等作为虚拟开发环境的命令行工具

安装


pip install pipenv

使用


创建虚拟开发环境的文件夹

mkdir myscan && cd myscan

在文件夹下创建虚拟开发环境并激活与退出


pipenv --three 或者(pipenv --python 3.6)
pipenv shell
exit

显示当前虚拟开发环境的目录以及其他信息(虚拟开发环境的名字)

pipenv --where
pipenv --venv

库的安装及其查看

pipenv install xxx(或者xxx==1.1.1)
pipenv graph 查看依赖
pip list
pip uninstall xxx

单独安装模块后会自动将新模块信息添加到pipfile中, 要同时更新pipfile.lock需要运行: pipenv lock

鸣谢参考文献


https://blog.csdn.net/chroming/article/details/77104873?locationNum=4&fps=1

https://blog.csdn.net/qq_41185868/article/details/79848923

https://www.jianshu.com/p/00af447f0005

最新文章

  1. node.js 入门实例【转】
  2. Devexpress 等待窗体
  3. 补充$.extend()
  4. Java程序编译和运行的过程
  5. 使用PHP发送邮件
  6. spring 解析配置文件问题
  7. JAVA对象是如何占用内存的
  8. AngularJS 路由:ui-router
  9. ASP转PHP手记
  10. css3 在线编辑工具 连兼容都写好了
  11. poj 3368 Frequent values(段树)
  12. hdu 2451 Simple Addition Expression(数位DP )成败在于细节
  13. PAT (Advanced Level) 1073. Scientific Notation (20)
  14. C++异常处理基本思想
  15. FPGA学习笔记(四)——Verilog基本语法
  16. 大数加法~HDU 1002 A + B Problem II
  17. js中数组的map()方法
  18. Spring Boot基础:Spring Boot简介与快速搭建(1)
  19. React中redux表单编辑
  20. 3.python集合

热门文章

  1. Mac或者linux下登陆到linux上的SFTP
  2. java String.intern();
  3. windows reload()
  4. js 去掉重复数组
  5. Axure实例演示—登录界面
  6. ubuntu alsa
  7. 条件独立(conditional independence) 结合贝叶斯网络(Bayesian network) 概率有向图 (PRML8.2总结)
  8. Linq与Lambda
  9. Dubbo -- 系统学习 笔记 -- 示例 -- 泛化引用
  10. Java -- IO -- 目录