Changes between Version 20 and Version 21 of Distributions
- Timestamp:
- Jun 2, 2010, 9:19:49 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Distributions
v20 v21 87 87 88 88 To 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 90 You can also change the PATH at the system level by creating the file 91 {{{ 92 /etc/paths.d/macports 93 }}} 94 with the contents 95 {{{ 96 /opt/local/bin 97 /opt/local/sbin 98 /opt/local/lib/python2.4/site-packages/django/bin 99 }}} 100 Be sure to change the last path to reflect the version of Python on your system.