mirror of
https://github.com/django/django.git
synced 2024-12-22 09:05:43 +00:00
Updated installation instructions.
Django 1.5 requires Python 2.6 or 2.7, and setup.py install over a previous installation doesn't work.
This commit is contained in:
parent
bb4452f212
commit
085c03e08b
5
INSTALL
5
INSTALL
@ -1,17 +1,18 @@
|
|||||||
Thanks for downloading Django.
|
Thanks for downloading Django.
|
||||||
|
|
||||||
To install it, make sure you have Python 2.5 or greater installed. Then run
|
To install it, make sure you have Python 2.6 or greater installed. Then run
|
||||||
this command from the command prompt:
|
this command from the command prompt:
|
||||||
|
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
||||||
|
If you're upgrading from a previous version, you need to remove it first.
|
||||||
|
|
||||||
AS AN ALTERNATIVE, you can just copy the entire "django" directory to Python's
|
AS AN ALTERNATIVE, you can just copy the entire "django" directory to Python's
|
||||||
site-packages directory, which is located wherever your Python installation
|
site-packages directory, which is located wherever your Python installation
|
||||||
lives. Some places you might check are:
|
lives. Some places you might check are:
|
||||||
|
|
||||||
/usr/lib/python2.7/site-packages (Unix, Python 2.7)
|
/usr/lib/python2.7/site-packages (Unix, Python 2.7)
|
||||||
/usr/lib/python2.6/site-packages (Unix, Python 2.6)
|
/usr/lib/python2.6/site-packages (Unix, Python 2.6)
|
||||||
/usr/lib/python2.5/site-packages (Unix, Python 2.5)
|
|
||||||
C:\\PYTHON\site-packages (Windows)
|
C:\\PYTHON\site-packages (Windows)
|
||||||
|
|
||||||
For more detailed instructions, see docs/intro/install.txt.
|
For more detailed instructions, see docs/intro/install.txt.
|
||||||
|
Loading…
Reference in New Issue
Block a user