# ModuleNotFoundError: No module named 'store'

**URL:** <https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586>\
**Category:** Django\
**Created:** [June 1, 2023, 9:52am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586 "2023-06-01T09:52:56Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amitava](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@Amitava](https://forum.codewithmosh.com/u/Amitava)\
**Post date:** [June 1, 2023, 9:52am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/1 "2023-06-01T09:52:56Z")

</div>

Hi I am facing issue from last 2 days could not solve it from stake overflow or other study resources need help,  
while I am importing:  
\*\* from store.models import Product \*\*  
Showing error :  
ModuleNotFoundError: No module named ‘store’

kindly Check the Screenshot for reference:

 ![Screenshot 2023-06-01 at 3.18.15 PM](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/8/81098945a9b9394bf24187d48d6e8fd9168a7d18.png)

---

<div class="post-metadata">

**Author:** ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)\
**Post date:** [June 1, 2023, 1:13pm UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/2 "2023-06-01T13:13:15Z")

</div>

Are you sure your python interpretor is set to your virtual environment not global instance?

---

<div class="post-metadata">

**Author:** ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)\
**Post date:** [June 2, 2023, 5:28am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/4 "2023-06-02T05:28:10Z")

</div>

in the “Django Fundamentals” section lecture 6 “using the integrated terminal in VScode” Mosh shows how to set the python interpretor, make sure you have the one set in your virtual environment.

This might not be the problem but this is usually the first thing to check when you have issues like this

---

<div class="post-metadata">

**Author:** ![Amitava](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@Amitava](https://forum.codewithmosh.com/u/Amitava)\
**Post date:** [June 2, 2023, 9:05am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/5 "2023-06-02T09:05:30Z")

</div>

Yes I am using integrated terminal window after setting the the path properly.  
I am getting this error from “Django ORM” lecture no 5 “Managers and QuerySets”

---

<div class="post-metadata">

**Author:** ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)\
**Post date:** [June 3, 2023, 8:23am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/6 "2023-06-03T08:23:08Z")

</div>

very weird… and you ran pipenv shell to start virtual environment beforehand?

---

<div class="post-metadata">

**Author:** ![Amitava](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@Amitava](https://forum.codewithmosh.com/u/Amitava)\
**Post date:** [June 3, 2023, 8:43am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/7 "2023-06-03T08:43:24Z")

</div>

yes. I have used pipenv shell to start the virtual environment ,I followed each and every step as advised by Mosh…

---

<div class="post-metadata">

**Author:** ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)\
**Post date:** [June 5, 2023, 1:31am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/8 "2023-06-05T01:31:35Z")

</div>

Did you solve the issue? If not try restarting vscode

---

<div class="post-metadata">

**Author:** ![Amitava](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@Amitava](https://forum.codewithmosh.com/u/Amitava)\
**Post date:** [June 5, 2023, 7:43am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/9 "2023-06-05T07:43:45Z")

</div>

Nope … Not solved… I have checked Other forums also almost same issue but no proper resolutions…I have wested long time on this, so left the code as it is…moving on…  
I am think I have wested my money by buying this course.  
You can check the other link below…

> [@Not finding objects in models in Django (LESSON 41)](https://forum.codewithmosh.com/t/not-finding-objects-in-models-in-django-lesson-41/19363):
>
> Can you help me with this? I have stuck in this part… After resetting the database i.e. change storefront to the provided storefront folder i faced many issues… i cleared most of them and stuck in this part… In lesson 41 , he has called objects from the Product class… but in my case, image100%75%50% i could not find any such thing i.e. objects in Product class… in the video he would have just imported like, from store.models import Product but here i couldn’t i have to call like, …

---

<div class="post-metadata">

**Author:** ![blitzoc](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@blitzoc](https://forum.codewithmosh.com/u/blitzoc)\
**Post date:** [June 5, 2023, 9:33am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/10 "2023-06-05T09:33:28Z")

</div>

it is indeed strange.  
one thing you can do is to download the Supplementary Materials.  
In the folder Code you can download the Code before and after a section.

When you start the second course, Mosh explains how to setup the project from such a folder. Basically, you just have to install the viruatal environment and the dependencies, listed in the pipfile are installed at the same time.  
Like that you can make sure to have all dependencies correctly set.

Also note:  
in windows and newer versions of VS Code, you dont have to append anything anymore when inputting the python path. you can normally completely select the full python path to the virtual environment.  
in case you need to append something to get to the python.exe: its different in windows than on a Mac. So whatever Mosh is appending: in Windows its different!

---

<div class="post-metadata">

**Author:** ![Amitava](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@Amitava](https://forum.codewithmosh.com/u/Amitava)\
**Post date:** [June 5, 2023, 9:52am UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/11 "2023-06-05T09:52:55Z")

</div>

Actually I have installed virtual environments and dependencies as shown by mosh.  
No issue I will try again after checking 2nd course.

and I am Using Mac - Ventura -13.4.

---

<div class="post-metadata">

**Author:** ![Jhay](https://avatars.discourse-cdn.com/v4/letter/j/7cd45c/32.png) [@Jhay](https://forum.codewithmosh.com/u/Jhay)\
**Post date:** [June 24, 2023, 3:36pm UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/12 "2023-06-24T15:36:10Z")

</div>

The exact same problem I am having. I am on Windows 10 pro and I used \Scripts\python.exe after the path to my virtual environment. Yet, I did not see the extra .vscode package added to my virtualenv. I am still stuck. Please, any suggestions to get past this problem will be deeply appreciated.

---

<div class="post-metadata">

**Author:** ![Jhay](https://avatars.discourse-cdn.com/v4/letter/j/7cd45c/32.png) [@Jhay](https://forum.codewithmosh.com/u/Jhay)\
**Post date:** [June 28, 2023, 2:57pm UTC](https://forum.codewithmosh.com/t/modulenotfounderror-no-module-named-store/20586/13 "2023-06-28T14:57:40Z")

</div>

Check the settings in installed apps and see if it was correctly spelt. I got a similar error due to misspelling while registering debug\_toolbar into it. And please don’t forget to CTRL+S while coding using VScode. Just saying.
