I started working through the Django 1.1.1 tutorial and promptly ran into the following error:
The first change I made was to set an alias so that python 2.5 is used. The second was to move /Library/Python/2.5/site-packages to the beginning of PYTHONPATH. I made these changes by adding two lines to my .profile:
ImportError: No module named django.core.managementI was trying to execute the following command from the mysite project directory:
./manage.py --versionI’m using python 2.5 on Mac OS X, 10.6.2 (Snow Leopard) because I’m learning Django to use in conjunction with Google App Engine.
The first change I made was to set an alias so that python 2.5 is used. The second was to move /Library/Python/2.5/site-packages to the beginning of PYTHONPATH. I made these changes by adding two lines to my .profile:
export PYTHONPATH="/Library/Python/2.5/site-packages:$PYTHONPATH" alias python=python2.5