Code

Changes between Version 1 and Version 2 of InstallationPitfalls


Ignore:
Timestamp:
05/28/10 02:50:38 (4 years ago)
Author:
gamesbook
Comment:

update for Python 2.6

Legend:

Unmodified
Added
Removed
Modified
  • InstallationPitfalls

    v1 v2  
    1515==== Solution ==== 
    1616 
    17 Link <django_installation>/bin/django-admin.py to whereever on your PATH. Note that 
    18 Python on most unix-like system uses /usr/local/lib/python2.X/site-packages/ for 3rd-party 
    19 packages: 
     17Link <django_installation>/bin/django-admin.py to whereever on your PATH.  
     18 
     19Note that Python on most unix-like system uses /usr/local/lib/python2.X/site-packages/ for 3rd-party packages: 
    2020 
    2121{{{ 
    2222ln -s /usr/local/lib/python2.4/site-packages/django/bin/django-admin.py /usr/local/bin/django-admin.py 
     23}}} 
     24 
     25 
     26However, Python 2.6 uses {{ /usr/local/lib/python2.6/dist-packages/}} for 3rd-party packages: 
     27 
     28{{{ 
     29ln -s /usr/local/lib/python2.6/dist-packages/django/bin/django-admin.py /usr/local/bin/django-admin.py 
    2330}}} 
    2431