On Thu, May 14, 2009 at 2:41 PM, bsisco <[email protected]> wrote:

>
> I've uninstalled and reinstalled django and I still can't get this to
> work.  Any help would be greatly appreciated...
>
> On May 14, 8:46 am, bsisco <[email protected]> wrote:
> > Ok.  I updated to the latest trunk release this morning and now when I
> > run django-admin.py startapp <blah> I get the following: (specs:
> > Python 2.5, Win XP Pro, Django trunk release 10781)
> >
> > >django-admin.py startapp rd
> >
> > Traceback (most recent call last):
> >   File "C:\Python25\Lib\site-packages\django\bin\django-admin.py",
> > line 2, in <module>
> >     from django.core import management
> > ImportError: No module named django.core
> >
> > My python path is as follows:>echo %pythonpath% >> out.txt
> >
> > C:\Python25;C:\Python25\Lib\site-packages\django;C:\django_projects;
> >
> > and my win path is :>echo %path% >> out.txt
> >
> > C:\Program Files\PHP\;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS
> > \system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files
> > \SecureCRT\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:
> > \Python25;C:\Program Files\e\cmd;C:\Program Files\QuickTime\QTSystem
> > \;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files
> > \Autodesk\DWG TrueView\;C:\ctags57;C:\Program Files\GnuWin32\bin;C:
> > \Program Files\MySQL\MySQL Server 5.1\bin;C:\cygwin\bin\;C:\MinGW\bin
> > \;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Python25\Lib\site-
> > packages\django\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files
> > \SecureCRT;C:\Documents and Settings\bsisco\Local Settings\Application
> > Data\VanDyke Software\SecureFX\;C:\Program Files\Nmap
> >
>
Hi bsisco,

are you shure that django is in your PYTHONPATH ? Try this:

open a python terminal
try to import django.

If it gives you an error, you should assure that your PYTHONPATH points to
the right directory.

Let us know what happened.

Tkm

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to