Changes between Version 20 and Version 21 of Distributions


Ignore:
Timestamp:
06/02/10 21:19:49 (5 years ago)
Author:
PaulSuh
Comment:

Added info for Mac OS X about the /etc/paths.d/ directory

Legend:

Unmodified
Added
Removed
Modified
  • Distributions

    v20 v21  
    8787
    8888To avoid a command not found issue with Snow Leopard 10.6.2 and various other OSX (Django installed using MacPorts) here a tip that might help. There might be a $PATH issue. Adding the proper PATH to ~/.Profile: export PATH=/opt/local/bin:opt/local/sbin:/opt/local/lib/python2.4/site-packages/django/bin:$PATH should help. NB Could be that one needs to change the Python version in the PATH.
     89
     90You can also change the PATH at the system level by creating the file
     91{{{
     92/etc/paths.d/macports
     93}}}
     94with the contents
     95{{{
     96/opt/local/bin
     97/opt/local/sbin
     98/opt/local/lib/python2.4/site-packages/django/bin
     99}}}
     100Be sure to change the last path to reflect the version of Python on your system.
Back to Top