# Unable to import pymc

**URL:** <https://discourse.pymc.io/t/unable-to-import-pymc/9649>\
**Category:** v3\
**Tags:** theano, bug\
**Created:** [June 14, 2022, 9:10am UTC](https://discourse.pymc.io/t/unable-to-import-pymc/9649 "2022-06-14T09:10:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madhav\_Kanda](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/madhav_kanda/32/4777_2.png) [@Madhav\_Kanda](https://discourse.pymc.io/u/Madhav_Kanda)\
**Post date:** [June 14, 2022, 9:10am UTC](https://discourse.pymc.io/t/unable-to-import-pymc/9649/1 "2022-06-14T09:10:49Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/pymc3/original/2X/0/06d4f319a97728c6a0b8a2af50d95bfc6d39b035.png)

I have been trying to import the pymc package but I am getting this error. I went through the available solutions online. Most of them mentioned installing python-dev. Even after doing that I am still receiving the same error. Please help

---

<div class="post-metadata">

**Author:** ![twiecki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/twiecki/32/6930_2.png) [@twiecki](https://discourse.pymc.io/u/twiecki)\
**Post date:** [June 14, 2022, 9:47am UTC](https://discourse.pymc.io/t/unable-to-import-pymc/9649/2 "2022-06-14T09:47:59Z")

</div>

How did you install PyMC? Did you use conda?

---

<div class="post-metadata">

**Author:** ![Madhav\_Kanda](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/madhav_kanda/32/4777_2.png) [@Madhav\_Kanda](https://discourse.pymc.io/u/Madhav_Kanda)\
**Post date:** [June 14, 2022, 4:11pm UTC](https://discourse.pymc.io/t/unable-to-import-pymc/9649/3 "2022-06-14T16:11:08Z")

</div>

No, I used pip install pymc

---

<div class="post-metadata">

**Author:** ![cluhmann](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/cluhmann/32/3083_2.png) [@cluhmann](https://discourse.pymc.io/u/cluhmann)\
**Post date:** [June 14, 2022, 4:20pm UTC](https://discourse.pymc.io/t/unable-to-import-pymc/9649/4 "2022-06-14T16:20:07Z")

</div>

Recommended installation methods can be found [here](https://www.pymc.io/projects/docs/en/latest/installation.html).
