Hello Xuanbei,

You are most likely getting that erro because you still have 'polls' 
mentioned inside INSTALLED_APPS within your settings.py file. 

On a different note, can you link to the tutorial you are following? I 
don't recall the official django tutorial instructing to install polls via 
pip. Instead, the tutorial teaches you to build the polls app.

Yours,
Abraham V.


On Sunday, April 30, 2017 at 10:20:34 AM UTC-4, Xuanbei Lu wrote:
>
> Hi Django experts,
>
> I'm new to django. I followed up the tutorial and everything is right on 
> the way until the re-use app section. According to the tutorial, after 
> packaging and installing the polls app using pip, I removed the directory 
> 'polls' in 'mysite'. Then when I try to run "python manage.py runserver", 
> it reported error as "No module named 'polls'". I just do exactly the 
> same things as the tutorial said, could any one share me with some 
> experience about the root cause?
>
> thank you in advance!!
>
> xuanbei
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e23ebfd4-16e4-4a46-a103-698d9e61db6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to