摘要: 1、cd到相关项目下并创建虚拟环境 ~$ pipenv install --dev 2、激活虚拟环境 ~$ pipenv shell 3、执行命令 ~$ pip freeze > requirements.txt 注意:此方法必须在项目虚拟环境下使用,否则会生成系统的所有依赖。 4、安装依赖 ~$ 阅读全文
posted @ 2019-12-17 12:16 DuanYongchun 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 1、查找虚拟机的ip地址:$ ifconfig ~inet 192.168.68.136 阅读全文
posted @ 2019-12-17 11:51 DuanYongchun 阅读(546) 评论(0) 推荐(0) 编辑