运行Djongo项目

安装 python3

https://www.python.org/downloads/

设置环境变量

PY_HOME
C:\Users\Terwer\AppData\Local\Programs\Python\Python37

Path
%PY_HOME%
%PY_HOME%\Scripts

安装 pipenv

pip install pipenv

安装 Djongo

添加pipfile

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
django = "==2.2.0"

[requires]
python_version = "3.7"

运行

pipenv install django==2.2.0
posted @ 2019-05-24 11:17  灯塔下的守望者  阅读(343)  评论(0编辑  收藏  举报