Python study note 08: Install django and pythondjango
Install django in linux:
Sudo pip install django
Install django in windows:
Pip install django
Verify that django is installed:
Python-m django -- version
Switch the directory to E: \ SourceCode
Install Django in Windows and Django in Windows
Django is a very popular open-source web framework. Based on the MVC model, it emphasizes rapid development and has many powerful third-party plug-ins, developers can use these plug-ins to quickly
Install Django on Windows
RecentCommunityThere are many questions about Django installation. Here I will summarize them.
First, prepare the relevant software:
Python 2.4.3
PIL for py2.4
Mysqldb for py2.4
Django 1, 0.95
To install Django on CentOS, there should be 3 ways to install Pip, git, and source code.PIP installation Comparison list, the steps are as follows:1. DownloadMkdir/install/djangoCd/install/djangowget https://bootstrap.pypa.io/get-pip.py--2015-06-25
[Python] install Django in ubuntu, connect MySQLdb to the database [XMAPP], and djangomysqldb
By default, python2.7 and 3.4 are installed in Ubuntu. Here, Django is installed through pip (tool for installing and managing Python packages ).
Install
This article describes how to install Django using Python and how to create a project
The example described below is performed under python2.7 and the python3.x operation is the same (and can be omitted from the environment configuration)
View PIP
Python: Install django and create a project. pythondjango Project
The example below is carried out in python2.7, And the python3.X operation is the same (and environment configuration can be omitted)
View pip version
Install django. "1.10.3" is the
Python version to 2.7.x or above, if Python is not installed execute the following command installation:
wget https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz (或者通过其他方式下载后放在某个路径下)
tar -zxvf Python-2.7.8.tgz
cd Python-2.7.8
1. Enter pip install django==1.11.7in cmd and install the version: 1.11.7.2. When the installation is complete, enter:>>> Import django>>> Print (Django.get_version ())If the version number appears, the installation is complete.3. Add an environment
The boss said that he would like to build a demo version of the time table tool for him to see and find a few solutions. He still prefers timesheet. I have never touched on Django before, and it is full of pitfalls in the process. The final steps
Compile python on Dreamhost and install django-Linux Enterprise Application-Linux server application information. The following is a detailed description. Python 2.5 installation steps:
Wget
Install Django and start Web Services in Windows
If you are using Linux or Mac OS X, the system may have pre-installed python. EnterPythonIf the python editing environment appears, it indicates that python has been installed. Even if python is not
Install django and debugging tools
Now let's talk about installing django and its related tools.
Django installation is also very simple. You can download the latest version from the official https://www.djangoproject.com/download/directly. The
Before this problem, because there is no record, so the second time the pit, so the record of the retention processingcentos6.5, default python2.6, pip1.5.4Installing DjangoPip Install DjangoExecution Result:downloading/unpacking Django downloading
Recent bursts of several blog are online, and then think of Windows Live write can write, but the installation of the time is not installed, and later found that Dotnet 2.0 has not been supported on the WIN10, so now try to use word2016 to publish a
I use the operating system is Windows7, memory is 2GIn search of some data found that the Django installation, the detailed really very few, are said to be very simplified, however, this blog can teach you to successfully install DjangoFor more
Prepare the virtual environment: Python Development Virtual EnvironmentPre-Installation Preparation1. Download Django:django DownloadThis article uses the django-1.5.9 (the difference between different versions is still relatively large, do not make
1. Install Python3.4 version, Reason: 3.4 and later version default comes with Pip tool, very useful2.django installation Command (c:\Python34\Scripts): Pip install Django3.selenium installation Command (c:\Python34\Scripts): Pip Install Selenium4.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.