OS X install problem: No module named django.core.management

400 views
Skip to first unread message

Adam

unread,
Sep 14, 2006, 1:06:25 AM9/14/06
to Django users
In an attempt to get the Python Image Library working, I installed the
Universal Python and PIL packages from
http://pythonmac.org/packages/py24-fat/index.html. Originally, I was
set up with a compiled version of 2.4 as was the example at the time.
Now, though, I'm getting this error whenever I do a python manage.py
runserver:

"Traceback (most recent call last):
File "manage.py", line 2, in ?
from django.core.management import execute_manager
ImportError: No module named django.core.management"

I'm using a copy from subversion, revision 3757. The location of my
django src location is symlinked from the new site-packages folder in
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/

Is there anything I'm missing?

Adam

James Bennett

unread,
Sep 14, 2006, 1:45:35 AM9/14/06
to django...@googlegroups.com
On 9/14/06, Adam <adam...@gmail.com> wrote:
> I'm using a copy from subversion, revision 3757. The location of my
> django src location is symlinked from the new site-packages folder in
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/

Make sure that directory is explicitly on your Python path; versions
of Python other than the ones distributed with OS X may not recognize
it by default.

--
"May the forces of evil become confused on the way to your house."
-- George Carlin

Fast, Adam

unread,
Sep 14, 2006, 9:39:52 AM9/14/06
to django...@googlegroups.com
Thank you, that was the solution. site-packages/ was in the path, but I added site-packages/django and now everything's working great.

Adam

winmail.dat
Reply all
Reply to author
Forward
0 new messages