# Import could not be resolved

**URL:** <https://forum.codewithmosh.com/t/import-could-not-be-resolved/5641>\
**Category:** Python\
**Created:** [June 21, 2021, 7:33pm UTC](https://forum.codewithmosh.com/t/import-could-not-be-resolved/5641 "2021-06-21T19:33:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecolmena](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ecolmena/32/703_2.png) [@ecolmena](https://forum.codewithmosh.com/u/ecolmena)\
**Post date:** [June 21, 2021, 7:33pm UTC](https://forum.codewithmosh.com/t/import-could-not-be-resolved/5641/1 "2021-06-21T19:33:05Z")

</div>

Hi Guys,

I am beginner in Python, but I have problems when I try to import libraries, so maybe I have problems with the extension That I had activated.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/3/3c18186d28a0bbdc8931d94e871eb7cf0f03acd2.png)

---

<div class="post-metadata">

**Author:** ![elener](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/elener/32/1756_2.png) [@elener](https://forum.codewithmosh.com/u/elener)\
**Post date:** [June 22, 2021, 12:15pm UTC](https://forum.codewithmosh.com/t/import-could-not-be-resolved/5641/2 "2021-06-22T12:15:41Z")

</div>

Ho, did you **install** this library? It is done by typing in the console/terminal

```auto
pip install numpy

```

To import anything you must usually first install it 🙂 Unless you are using a python module included in Python (like _math_ module) etc…

---

<div class="post-metadata">

**Author:** ![ecolmena](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ecolmena/32/703_2.png) [@ecolmena](https://forum.codewithmosh.com/u/ecolmena)\
**Post date:** [June 22, 2021, 6:23pm UTC](https://forum.codewithmosh.com/t/import-could-not-be-resolved/5641/3 "2021-06-22T18:23:32Z")

</div>

Thanks Elener, it worked. But the problem with the import still appears. This error message bother me.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/5/56e4827a965ed3cf3a52785114a89b9f3bd4efd3.png)

---

<div class="post-metadata">

**Author:** ![elener](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/elener/32/1756_2.png) [@elener](https://forum.codewithmosh.com/u/elener)\
**Post date:** [June 23, 2021, 12:05pm UTC](https://forum.codewithmosh.com/t/import-could-not-be-resolved/5641/4 "2021-06-23T12:05:50Z")

</div>

Does it say anything when you hover over it or RightClick? Does it give any hint of what is wrong? I am happy it works though 🙂 It might be some problem with your IDE, but need more info.

---

<div class="post-metadata">

**Author:** ![ecolmena](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ecolmena/32/703_2.png) [@ecolmena](https://forum.codewithmosh.com/u/ecolmena)\
**Post date:** [June 24, 2021, 4:08am UTC](https://forum.codewithmosh.com/t/import-could-not-be-resolved/5641/5 "2021-06-24T04:08:13Z")

</div>

Thanks Elener. Maybe I need to reinstall de IDE: VSCode.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/8/82b9a2d1e36d1971bd5f80edf9970cba147219f1.png)

---

<div class="post-metadata">

**Author:** ![elener](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/elener/32/1756_2.png) [@elener](https://forum.codewithmosh.com/u/elener)\
**Post date:** [July 6, 2021, 3:29pm UTC](https://forum.codewithmosh.com/t/import-could-not-be-resolved/5641/6 "2021-07-06T15:29:59Z")

</div>

If I may, why did you decide to learn programming? 🙂 I was at the beggining of this road only a year ago and started with Python as well… It can be hard when you are stuck. If you want I can help a bit, just give me your email and I will write you if you ever needed any help. 😊

---

<div class="post-metadata">

**Author:** ![ecolmena](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ecolmena/32/703_2.png) [@ecolmena](https://forum.codewithmosh.com/u/ecolmena)\
**Post date:** [July 6, 2021, 4:51pm UTC](https://forum.codewithmosh.com/t/import-could-not-be-resolved/5641/7 "2021-07-06T16:51:49Z")

</div>

Thank you so much Elener, that will be a lot of help in this phase 😊 This is my email: [eneida.colmenares172@gmail.com](mailto:eneida.colmenares172@gmail.com)
