Hi everybody
I just got Django installed (to test it) via Macports and I have
Python 2.5 and 2.6 installed on a MacBook running 10.6.3.
I did everything the installation guide told me, but after typing:
python manage.py runserver
I get this error:
File "manage.py", line 2, in <module>
from django.core.management import execute_manager
ImportError: No module named django.core.management
I believe the solution would be this comment on the installation
site:
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.
But I dont now what a $PATH issue is and where I could paste this code
to fix it.
Or if you know another possible reason please tell me.
Any help would be greatly appreciated.
Thanks a lot
Best
Z.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.