Want to try python a bit lately. Discover vs2015 provides some of Python's project templates. Among them is the famous web framework Django.
After the project is created, the direct debug run is faulty and the Django module is not found, and no modules named ' Django '.
Online search, have friends have this problem, but with my situation may be different. (Because I am a clean machine, without any python environment)
Django Official website
: https://www.djangoproject.com/download/, see this command at first sight
Pip Install django==1.8.4
1.8 is the latest official version, the latest 1.9 is the alpha version.
Next need to install pip,https://pip.pypa.io/en/latest/installing/#install-pip, first need to download a name called: get-pip.py file, and then run
Added: Without looking closely at the document, there is a description of the PIP, in a version of 2.7, and the PIP is already integrated in the version above 3.4, so there is no need to install the PIP separately.
Python 2.7.9 and later (on the Python2 series), and Python 3.4 and later include PIP by default [1], so could have pip a Lready.
Python get-pip.py
Wait for the installation to complete. Next, use the PIP command to install Django
When you finish creating a project in VS, you are prompted to synchronize the DB
The program directs you to fill in the Administrator user information for the Web Template site when synchronizing db.
After the debugging run, you can see a welcome Web interface with the same as ASP.
The Python Django template provided by VS2015 in the preliminary interview