On 11/10/06, benstewart <[EMAIL PROTECTED]> wrote: > > I'm on Windows XP, Python 2.4, Apache 2.0, Subversion, mod_python, > MySQL, PostgreSQL (just in case), etc... > > My project is named "mydjango" (instead of mysite in the tutorial). > > I can see the lovely Django welcome screen in my browser, so Python, > mod_python, and Django should be working properly. However, in DOS > (command prompt) whenever I try to run "manage.py runserver" OR > "manage.py syncdb" I get an error message like: > <code> > Traceback (most recent call last): > ... > ImportError: No module named MYDJANGO > </code> >
First, from where is this error coming from. Check further up the traceback for the file that is generating that error. Second, Why is MYDJANGO allcaps? If your actual directory is not allcaps, then that may be the problem. > I (think) I have added everything correctly to my path and pythonpath. If your running manage.py from within your project directory, then that directory should automatically be added to your PYTHONPATH. If not, then you got some other weirdness going on not related to Django. You'll need to get some general python help elsewhere. As a quick test, from the mydjango directory run 'manage.py shell' and then try >>> import mydjango If you get no error messages, then you probably have a typo in the file referenced in the trackback as mentioned earlier. > > I really want to start learning Django/Python because I like the > structure. If only it installed on Windows as easily as RoR! Hopefully > this will be better with version 1.0. (I really don't want to learn > Ruby... even with Rails.) > > Any thoughts for this wanna-be Django-er? > > > > > -- ---- Waylan Limberg [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---