ModuleNotFoundError: No module named 'tutorial.quickstart'

104 views
Skip to first unread message

Pooja Kumari

unread,
Sep 2, 2022, 3:21:07 AM9/2/22
to Django users
Hello team, 
please help me with this error.
Untitled1.jpg

rahul sharma

unread,
Sep 2, 2022, 3:25:30 AM9/2/22
to django...@googlegroups.com
Import module name

On Fri, Sep 2, 2022, 12:21 Pooja Kumari <poojai...@gmail.com> wrote:
Hello team, 
please help me with this error.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3e46fc90-4d92-4db9-abed-7733babf7d4dn%40googlegroups.com.

rahul sharma

unread,
Sep 2, 2022, 3:26:34 AM9/2/22
to django...@googlegroups.com
Ti install in terminal pip install totorial.quickstart

Wazed Khan

unread,
Sep 2, 2022, 3:27:03 AM9/2/22
to django...@googlegroups.com
Use 
from . import views
Because you are in you app directory 
Or use 
from tutorial import views

On Fri, Sep 2, 2022, 1:21 PM Pooja Kumari <poojai...@gmail.com> wrote:
Hello team, 
please help me with this error.

--

Pooja Kumari

unread,
Sep 2, 2022, 3:55:57 AM9/2/22
to Django users
It's solved.
 Thanks

Abdulrahman Abbas

unread,
Sep 2, 2022, 9:15:12 AM9/2/22
to django...@googlegroups.com
Having exactly this kind of problem

On Fri, Sep 2, 2022, 08:21 Pooja Kumari <poojai...@gmail.com> wrote:
Hello team, 
please help me with this error.

--

Muhammad Juwaini Abdul Rahman

unread,
Sep 3, 2022, 8:55:25 AM9/3/22
to django...@googlegroups.com
Add 'tutorial' to settings.py > INSTALLED_APPS

On Fri, 2 Sept 2022 at 15:21, Pooja Kumari <poojai...@gmail.com> wrote:
Hello team, 
please help me with this error.

--

Lakshyaraj Dash

unread,
Sep 3, 2022, 9:05:07 AM9/3/22
to django...@googlegroups.com
The main problem is that you have every folder named as tutorial so it's throwing errors. 

On Fri, 2 Sep, 2022, 12:51 Pooja Kumari, <poojai...@gmail.com> wrote:
Hello team, 
please help me with this error.

--

Lakshyaraj Dash

unread,
Sep 3, 2022, 9:06:19 AM9/3/22
to django...@googlegroups.com
@rahul
There no module for tutorial.quickstart in pypi.... Pip will throw error as not proper configuration was found against that package. 

Vj Vijay

unread,
Sep 3, 2022, 9:12:11 AM9/3/22
to django...@googlegroups.com
It should be from tutorial import views

On Fri, Sep 2, 2022, 12:51 PM Pooja Kumari <poojai...@gmail.com> wrote:
Hello team, 
please help me with this error.

--

Lakshyaraj Dash

unread,
Sep 3, 2022, 9:47:00 AM9/3/22
to django...@googlegroups.com
She has views inside tutorials then quickstart. She has named every folder as tutorial. She needs to rename some folders

Swetank Subham Roy

unread,
Sep 3, 2022, 9:59:04 AM9/3/22
to django...@googlegroups.com
It should be:
import .views
Or
from .views import your_view

It should be a relative import


--
Regards,

Swetank Subham

B.Tech | CSE  | Software Developer

Software Engineer, Great Software Laboratory


Contact: Mo.:+91 9110 09 0019

WhatsApp:    +91 9110 09 0019

Email   :  swetank...@gslab.com





Lakshyaraj Dash

unread,
Sep 3, 2022, 10:01:06 AM9/3/22
to django...@googlegroups.com
Ok now I understand what's the problem. You need to write 
from quickstart import views

Danish Nagori

unread,
Sep 3, 2022, 2:51:54 PM9/3/22
to django...@googlegroups.com
Hello 
I think you try this 
from tutorial import views

On Fri, 2 Sep 2022, 12:21 pm Pooja Kumari, <poojai...@gmail.com> wrote:
Hello team, 
please help me with this error.

--

Lakshyaraj Dash

unread,
Sep 3, 2022, 7:14:51 PM9/3/22
to django...@googlegroups.com
How ???
The views is inside quickstart folder

Reply all
Reply to author
Forward
0 new messages