看板 uefacool
作者 標題 [Prog] Python Note
時間 2017-07-04 Tue. 20:44:07
#Install PIP
http://pip.readthedocs.io/en/latest/installing/
#Install Django
https://www.djangoproject.com/download/
ps: For Windows command, python -m pip install Django==1.11.3
------
Requirement already satisfied: Django==1.11.3 in c:\python27\lib\site-packages
Requirement already satisfied: pytz in c:\python27\lib\site-packages (from Django==1.11.3)
-------
#python django-admin.py startproject mysite
This is what worked for me: I already had c:\python27 and c:\python27\Scripts in PATH.
Copy django-admin.py and django-admin-script.py from c:\python27\Scripts to your desired folder
with cmd go to that folder and run > django-admin startproject mysite
--
※ 作者: uefangsmith 時間: 2017-07-04 20:44:07
※ 編輯: uefangsmith 時間: 2017-07-04 21:42:18
※ 看板: uefacool 文章推薦值: 0 目前人氣: 0 累積人氣: 76
回列表(←)
分享