Re: Please help:ImportError: No module named django

77 views
Skip to first unread message
Message has been deleted

Matt Gushee

unread,
Jul 24, 2014, 4:07:26 PM7/24/14
to django...@googlegroups.com
Hi, Liu Xuan--

What result do you get when you do the following?

Python 2.7.6

>>> import sys
>>> sys.path

On Thu, Jul 24, 2014 at 1:23 PM, New Django User <liux...@gmail.com> wrote:
> Hi, I have problems with Django in windows 7.
>
> I installed Django using Windows Powershell:
>
> PS C:\Python27> pip install django
> Requirement already satisfied (use --upgrade to upgrade): django in
> c:\anaconda\lib\site-package.
>
> However, when I run "import django" in Python 2.7.6 shell, it showed the
> following error message:
>
> Traceback (most recent call last):
> File "<pyshell#1>", line 1, in <module>
> import django
> ImportError: No module named django
>
> I searched over the internet and did not find useful information.
>
> Please help.
>
> Many thanks in advance.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b30d3b18-c728-4bd5-8a72-874dd5a065b3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Message has been deleted
Message has been deleted

Collin Anderson

unread,
Aug 4, 2014, 8:28:14 AM8/4/14
to django...@googlegroups.com
in the python shell try running:

import sys
sys.path

Reply all
Reply to author
Forward
0 new messages