On 2 juil, 20:02, Phil <[email protected]> wrote: > Hi, > > I recently installed the latest development version of Django from > subversion. I followed all steps on site, got no errors. When I type > "import django" in Python interpreter I get no errors. > > But when I try run "django-admin.py startproject mysite" I get the > following error... > > "ImportError: No module named functools" > > Any idea's on what the problem could be?
functools is part of the stdlib (http://docs.python.org/library/ functools.html#module-functools) so unless your system install is really weird or broken or something messes with your sys.path this shouldn't happen. The best way to debug your problem would be to check the traceback to find out where the failed import happens and edit it to add a couple print statements - specially what you sys.path looks like. Also and FWIW: do you have more than one Python install on your system, and if yes are you sure django-admib.py calls the right one ? Oh and yes: before we waste any more time, please post the FULL traceback. It's here to provide as much clues as possible about what went wrong. -- 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.

