# Install pymc issues

**URL:** <https://discourse.pymc.io/t/install-pymc-issues/12288>\
**Category:** v5\
**Tags:** development\_env\
**Created:** [June 9, 2023, 1:00pm UTC](https://discourse.pymc.io/t/install-pymc-issues/12288 "2023-06-09T13:00:30Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faramarz\_Hojati](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/faramarz_hojati/32/6681_2.png) [@Faramarz\_Hojati](https://discourse.pymc.io/u/Faramarz_Hojati)\
**Post date:** [June 9, 2023, 1:00pm UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/1 "2023-06-09T13:00:30Z")

</div>

Dear All,

I have too much tried to come up with a solution regarding my installation issue. I have python version Python 3.8.5 and installed pymc version of 5.4.1. After running just the following code line to import pymc library (import pymc as pm) I recieved the following errors and warning. I would be thankful if you help.

WARNING (pytensor.configdefaults): g++ not available, if using conda: `conda install m2w64-toolchain`  
WARNING (pytensor.configdefaults): g++ not detected! PyTensor will be unable to compile C-implementations and will default to Python. Performance may be severely degraded. To remove this warning, set PyTensor flags cxx to an empty string.  
Traceback (most recent call last):

NoSectionError: No section: ‘blas’  
KeyError: ‘blas\_\_ldflags’  
FileNotFoundError: [WinError 3] Das System kann den angegebenen Pfad nicht finden: ‘D:\a\1\s\numpy\build\openblas\_info’

---

<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 9, 2023, 6:24pm UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/2 "2023-06-09T18:24:32Z")

</div>

Welcome!

How did you install PyMC? Did you follow the [official installation instructions](https://www.pymc.io/projects/docs/en/latest/installation.html)?

---

<div class="post-metadata">

**Author:** ![Faramarz\_Hojati](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/faramarz_hojati/32/6681_2.png) [@Faramarz\_Hojati](https://discourse.pymc.io/u/Faramarz_Hojati)\
**Post date:** [June 10, 2023, 2:04pm UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/3 "2023-06-10T14:04:48Z")

</div>

Thanks,

I have installed the the package via console of spyder. I followed the instruction that you have provided however, it does not work and I recieved the message above

---

<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 12, 2023, 2:58am UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/4 "2023-06-12T02:58:54Z")

</div>

Can you share what platform you are on (windows, macOS, linux) and the output when running `conda list`?

---

<div class="post-metadata">

**Author:** ![Henry](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/henry/32/6694_2.png) [@Henry](https://discourse.pymc.io/u/Henry)\
**Post date:** [June 15, 2023, 8:02pm UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/5 "2023-06-15T20:02:24Z")

</div>

Hey Faramarz. i recently helped a coworker/friend install pymc. i’m on windows and struggled installing it so these are the instructions i gave him.

step 0: install miniconda. [Miniconda — conda documentation](https://docs.conda.io/en/latest/miniconda.html)  
miniconda is barebones conda. once it is installed. open up conda. ( Anaconda Prompt (miniconda3) )

1. conda create -c conda-forge -n pymc\_env “pymc\>=5” python=3.10.6
2. activate pymc\_env  
get in.
3. pip install numba (inside your pymc\_env)
4. conda install -c conda-forge mamba (inside your pymc\_env)
5. mamba install -c conda-forge nutpie pymc (inside your pymc\_env)

i specified python=3.10.6 this is what is working for me. a month ago numba didn’t have support for python 3.11 (i think now it does?? but you’ll have to test it yourself, so just use 3.10.6).

once everything is setup you can pip install jupyter notebook. jupyter lab or anything else that you use. i dont recommend spyder, haven’t used it in years. VS-code user.

---

<div class="post-metadata">

**Author:** ![aakhmetz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/aakhmetz/32/1500_2.png) [@aakhmetz](https://discourse.pymc.io/u/aakhmetz)\
**Post date:** [September 30, 2023, 10:25am UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/6 "2023-09-30T10:25:08Z")

</div>

Hi all, I have got the same problem recently. While using archlinux, the newest version of numpy (1.26.0) caused the error message about not finding blas. However, downgrading the numpy to 1.25.2 resolved the issue

---

<div class="post-metadata">

**Author:** ![Stuart\_Kerr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/stuart_kerr/32/7816_2.png) [@Stuart\_Kerr](https://discourse.pymc.io/u/Stuart_Kerr)\
**Post date:** [March 4, 2024, 10:15pm UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/7 "2024-03-04T22:15:30Z")

</div>

I am running in Colab, followed all the documenation, and to do accomplish the “CLV Quickstart” received this:

```import
import pandas as pd
import seaborn as sns
from pymc_marketing import clv

```

* * *

ModuleNotFoundError Traceback (most recent call last)  
 in \<cell line: 4\>()  
2 import pandas as pd  
3 import seaborn as sns  
----\> 4 from pymc\_marketing import clv

ModuleNotFoundError: No module named ‘pymc\_marketing’

---

<div class="post-metadata">

**Author:** ![ricardoV94](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/ricardov94/32/5775_2.png) [@ricardoV94](https://discourse.pymc.io/u/ricardoV94)\
**Post date:** [March 4, 2024, 11:08pm UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/8 "2024-03-04T23:08:33Z")

</div>

pymc-marketing is not installed by default on Colab you need to install it on the first cell with `!pip install`. This thread however is not about PyMC-Marketing so you should open a new one if you need help

---

<div class="post-metadata">

**Author:** ![Stuart\_Kerr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/stuart_kerr/32/7816_2.png) [@Stuart\_Kerr](https://discourse.pymc.io/u/Stuart_Kerr)\
**Post date:** [March 5, 2024, 12:54am UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/9 "2024-03-05T00:54:15Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![Galen\_Seilis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/galen_seilis/32/6011_2.png) [@Galen\_Seilis](https://discourse.pymc.io/u/Galen_Seilis)\
**Post date:** [April 10, 2024, 6:01pm UTC](https://discourse.pymc.io/t/install-pymc-issues/12288/10 "2024-04-10T18:01:56Z")

</div>

Dang. I hope the installation doesn’t become `conda`-only.
