Opened 19 years ago
Closed 19 years ago
#4072 closed (invalid)
Path making the simlink works only on Python 2.3
| Reported by: | anonymous | Owned by: | Jacob |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In the instructions to install Django development version from svn [1] the line of code to create the simlink from django_src/django uses a path that includes python2.3 it should be noted that this should be replaces with the path to the python the users has otherwise django-admin.py would fail with this error:
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 2, in ?
from django.core import management
ImportError: No module named django.core
It is trivial to fix the problem but it could take some users by suprise.
This is the line with the problem:
ln -s pwd/django_src/django /usr/lib/python2.3/site-packages
It clearly says just under that line:
(In the above line, change python2.3 to match your current Python version.)