# \#development\_env

**URL:** https://discourse.pymc.io/tag/development-env/33.md

[Latest](https://discourse.pymc.io/latest.md) · [Categories](https://discourse.pymc.io/categories.md) · [Tags](https://discourse.pymc.io/tags.md)

---

## [Install pymc issues](https://discourse.pymc.io/t/install-pymc-issues/12288)

<div class="topic-metadata">

**Author:** [@Faramarz\_Hojati](https://discourse.pymc.io/u/Faramarz_Hojati)\
**Replies:** 9\
**Last updated:** [April 10, 2024, 6:01pm UTC](https://discourse.pymc.io/t/install-pymc-issues/12288 "2024-04-10T18:01:56Z")

</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 py…

---

## [Exception: ('Compilation failed (return status=1)... error after installing PyMC3 for the first time](https://discourse.pymc.io/t/exception-compilation-failed-return-status-1-error-after-installing-pymc3-for-the-first-time/6643)

<div class="topic-metadata">

**Author:** [@billtubbs](https://discourse.pymc.io/u/billtubbs)\
**Replies:** 23\
**Last updated:** [February 7, 2024, 10:21am UTC](https://discourse.pymc.io/t/exception-compilation-failed-return-status-1-error-after-installing-pymc3-for-the-first-time/6643 "2024-02-07T10:21:20Z")

</div>

I’m completely new to PyMC and this exception occurred after installing for the first time (with Anaconda) and trying to execute this basic example script. System: Mac OS X 10.14.6 Steps taken to install: conda create…

---

## [Getting a Working Pymc3 Windows 10 Installation using Anaconda - An Installation Guide](https://discourse.pymc.io/t/getting-a-working-pymc3-windows-10-installation-using-anaconda-an-installation-guide/8641)

<div class="topic-metadata">

**Author:** [@sree\_datta](https://discourse.pymc.io/u/sree_datta)\
**Replies:** 13\
**Last updated:** [January 5, 2024, 12:40pm UTC](https://discourse.pymc.io/t/getting-a-working-pymc3-windows-10-installation-using-anaconda-an-installation-guide/8641 "2024-01-05T12:40:32Z")

</div>

I’m a user of Pymc3 on Windows 10 using Anaconda and for the longest time that I can remember, it has been incredibly frustrating to get Pymc3 working correctly. Often this was due to the lack of consistent compilers bei…

---

## [Best laptop for doing Bayesian modelling with PyMC?](https://discourse.pymc.io/t/best-laptop-for-doing-bayesian-modelling-with-pymc/8509)

<div class="topic-metadata">

**Author:** [@juststarted](https://discourse.pymc.io/u/juststarted)\
**Replies:** 7\
**Last updated:** [August 23, 2023, 8:27am UTC](https://discourse.pymc.io/t/best-laptop-for-doing-bayesian-modelling-with-pymc/8509 "2023-08-23T08:27:44Z")

</div>

Hi everyone! In February I will start a new research job, and I need to get a new work laptop. Since there is no default model from the uni, I need to tell them what model I would like. The most computationally intensiv…

---

## [PYMC error to work on Jupyter Notebook](https://discourse.pymc.io/t/pymc-error-to-work-on-jupyter-notebook/8879)

<div class="topic-metadata">

**Author:** [@muharrembb](https://discourse.pymc.io/u/muharrembb)\
**Replies:** 8\
**Last updated:** [June 30, 2023, 8:57am UTC](https://discourse.pymc.io/t/pymc-error-to-work-on-jupyter-notebook/8879 "2023-06-30T08:57:27Z")

</div>

Hello, I downloaded new Pymc4 with instructions on GitHub account and created new environment for it. When I open new pymc on Python by using Terminal on my MacBook, it works fine. However, it does not work on Jupiter n…

---

## [Cannot get pymc to compile](https://discourse.pymc.io/t/cannot-get-pymc-to-compile/11631)

<div class="topic-metadata">

**Author:** [@TomKealy](https://discourse.pymc.io/u/TomKealy)\
**Replies:** 2\
**Last updated:** [March 17, 2023, 12:34am UTC](https://discourse.pymc.io/t/cannot-get-pymc-to-compile/11631 "2023-03-17T00:34:34Z")

</div>

I have conda, and mamba installed, as well as Xcode on macOS Ventura 13.2.1 (Intel i7). I can import pymc and this code shows I have version 4.1.5: import pymc as pm print(f"Running on PyMC v{pm.\_\_version\_\_}") When I…

---

## [Pycharm PyMC 5 - SIGKILL (signal 9) issue](https://discourse.pymc.io/t/pycharm-pymc-5-sigkill-signal-9-issue/11233)

<div class="topic-metadata">

**Author:** [@fatihbozdag](https://discourse.pymc.io/u/fatihbozdag)\
**Replies:** 1\
**Last updated:** [January 28, 2023, 7:59pm UTC](https://discourse.pymc.io/t/pycharm-pymc-5-sigkill-signal-9-issue/11233 "2023-01-28T19:59:05Z")

</div>

Greetings all, I’ve been using Pymc5 for a while on Apple M2 (8 GB ram, 256 GB SSD), Mac OS Ventura. However, all of a sudden, I got the SIGKILL exit code 137 signal 9. I know it signals insufficient RAM, so the process…

---

## [Unable to install on Mac M1](https://discourse.pymc.io/t/unable-to-install-on-mac-m1/9445)

<div class="topic-metadata">

**Author:** [@RobertArbon](https://discourse.pymc.io/u/RobertArbon)\
**Replies:** 5\
**Last updated:** [November 17, 2022, 8:23am UTC](https://discourse.pymc.io/t/unable-to-install-on-mac-m1/9445 "2022-11-17T08:23:24Z")

</div>

I have tried install pymc through conda and via pip/setuptools/github and I get the same error when I run this example code: import numpy as np import pymc as pm X = np.random.normal(size=100) y = np.random.normal(X) \*…

---

## [Is there any simple install for pymc V4?](https://discourse.pymc.io/t/is-there-any-simple-install-for-pymc-v4/10787)

<div class="topic-metadata">

**Author:** [@Seattle\_Steve](https://discourse.pymc.io/u/Seattle_Steve)\
**Replies:** 9\
**Last updated:** [November 12, 2022, 2:41pm UTC](https://discourse.pymc.io/t/is-there-any-simple-install-for-pymc-v4/10787 "2022-11-12T14:41:05Z")

</div>

Hi. I am running a course and would like to have my students use pymc v4 in Jupyter notebooks. I have experimented with my own Windows 10 environment and think I can work out how I might get pymc v4 to work with Jupyter,…

---

## [BLAS - MKL - OpenBLAS](https://discourse.pymc.io/t/blas-mkl-openblas/10526)

<div class="topic-metadata">

**Author:** [@timrio](https://discourse.pymc.io/u/timrio)\
**Replies:** 0\
**Last updated:** [October 4, 2022, 9:46am UTC](https://discourse.pymc.io/t/blas-mkl-openblas/10526 "2022-10-04T09:46:36Z")

</div>

Hello :slight\_smile: I have noticed that PyMC 4 gets installed by default with OpenBlas (when running python -m aesara.misc.check\_blas) I would like to use MKL instead of OpenBlas but it do not manage to switch, do you…

---

## [PyMC v4 distributed by Anaconda?](https://discourse.pymc.io/t/pymc-v4-distributed-by-anaconda/10496)

<div class="topic-metadata">

**Author:** [@Chmielar](https://discourse.pymc.io/u/Chmielar)\
**Replies:** 2\
**Last updated:** [September 30, 2022, 12:20am UTC](https://discourse.pymc.io/t/pymc-v4-distributed-by-anaconda/10496 "2022-09-30T00:20:31Z")

</div>

Hello, I am not entirely sure if this is appropriate question on this group but perhaps somebody can push me in the right direction. Is there a plan or active work-stream to get PyMC v4 packaged and distributed via anac…

---

## [Install pymc from source](https://discourse.pymc.io/t/install-pymc-from-source/10370)

<div class="topic-metadata">

**Author:** [@TimOliverMaier](https://discourse.pymc.io/u/TimOliverMaier)\
**Replies:** 0\
**Last updated:** [September 12, 2022, 10:56am UTC](https://discourse.pymc.io/t/install-pymc-from-source/10370 "2022-09-12T10:56:50Z")

</div>

Hey! I recently have struggles with models I run in a conda environment in which I installed pymc v4 from source. The sampler is unbearably slow. Which is not the case, when I install a pymc release via conda. Is there…

---

## [Getting "WARNING (aesara.configdefaults): g++ not available," on fresh PyMC4 install](https://discourse.pymc.io/t/getting-warning-aesara-configdefaults-g-not-available-on-fresh-pymc4-install/9822)

<div class="topic-metadata">

**Author:** [@nicholasj](https://discourse.pymc.io/u/nicholasj)\
**Replies:** 6\
**Last updated:** [July 11, 2022, 3:52pm UTC](https://discourse.pymc.io/t/getting-warning-aesara-configdefaults-g-not-available-on-fresh-pymc4-install/9822 "2022-07-11T15:52:55Z")

</div>

I have been getting the following warnings in a brand new envrionment: Python 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 06:57:50) \[MSC v.1929 64 bit (AMD64)\] on win32 Type "help", "copyright", "credits" or …

---

## [WARNING: g++ not detected](https://discourse.pymc.io/t/warning-g-not-detected/9661)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.pymc.io/u/CameronBieganek)\
**Replies:** 2\
**Last updated:** [June 18, 2022, 2:12pm UTC](https://discourse.pymc.io/t/warning-g-not-detected/9661 "2022-06-18T14:12:48Z")

</div>

I just installed pymc on my Mac (Intel chip, running macOS Monterey) via the recommended command: conda create -c conda-forge -n pymc\_env "pymc\>=4" However, when I run import pymc as pm in my pymc\_env conda environment…

---

## [Getting Theano Working](https://discourse.pymc.io/t/getting-theano-working/9620)

<div class="topic-metadata">

**Author:** [@ahc\_ahc](https://discourse.pymc.io/u/ahc_ahc)\
**Replies:** 11\
**Last updated:** [June 13, 2022, 7:59am UTC](https://discourse.pymc.io/t/getting-theano-working/9620 "2022-06-13T07:59:43Z")

</div>

Hi, I have been trying to successfully run a program that uses a theano Op. When I follow the instructions here: Installation Guide (Linux) · pymc-devs/pymc Wiki · GitHub I get the following error when I import theano: …

---

## [Fresh conda pymc v4 environment fails solve](https://discourse.pymc.io/t/fresh-conda-pymc-v4-environment-fails-solve/9607)

<div class="topic-metadata">

**Author:** [@ccaprani](https://discourse.pymc.io/u/ccaprani)\
**Replies:** 3\
**Last updated:** [June 9, 2022, 10:06am UTC](https://discourse.pymc.io/t/fresh-conda-pymc-v4-environment-fails-solve/9607 "2022-06-09T10:06:43Z")

</div>

It’s probably a conda problem (I am getting very disillusioned with it!), but a fresh conda env for pymc v4 fails solve when trying to add the ipykernel for jupyter-lab. Output follows: (base) ➜ Outlier detection$ cond…

---

## [Installing PyMC v4 on Sagemaker](https://discourse.pymc.io/t/installing-pymc-v4-on-sagemaker/9532)

<div class="topic-metadata">

**Author:** [@payamphysics](https://discourse.pymc.io/u/payamphysics)\
**Replies:** 18\
**Last updated:** [June 8, 2022, 5:51pm UTC](https://discourse.pymc.io/t/installing-pymc-v4-on-sagemaker/9532 "2022-06-08T17:51:03Z")

</div>

Hi, I tried to install pymc4 using %pip install pymc --pre And got the following error. I’m wondering if anyone has had any experience with this. Collecting pymc Downloading pymc-2.3.8.tar.gz (385 kB) |█████████████…

---

## [Installation guide issue - WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions](https://discourse.pymc.io/t/installation-guide-issue-warning-theano-tensor-blas-using-numpy-c-api-based-implementation-for-blas-functions/8274)

<div class="topic-metadata">

**Author:** [@dbf\_94](https://discourse.pymc.io/u/dbf_94)\
**Replies:** 13\
**Last updated:** [May 18, 2022, 3:59am UTC](https://discourse.pymc.io/t/installation-guide-issue-warning-theano-tensor-blas-using-numpy-c-api-based-implementation-for-blas-functions/8274 "2022-05-18T03:59:35Z")

</div>

Hello, I have followed exactly the instructions here Installation Guide (Windows) · pymc-devs/pymc Wiki · GitHub to install pymc3 on Windows, but I still get the following when I import the library: WARNING (theano.tens…

---

## [After installation of pyMC4, pytest is failing with "ModuleNotFoundError: No module named 'aesara'"](https://discourse.pymc.io/t/after-installation-of-pymc4-pytest-is-failing-with-modulenotfounderror-no-module-named-aesara/9290)

<div class="topic-metadata">

**Author:** [@anne](https://discourse.pymc.io/u/anne)\
**Replies:** 11\
**Last updated:** [May 11, 2022, 1:27am UTC](https://discourse.pymc.io/t/after-installation-of-pymc4-pytest-is-failing-with-modulenotfounderror-no-module-named-aesara/9290 "2022-05-11T01:27:33Z")

</div>

Hey there. I have installed pymc4 using the instructions on github for MacOS. Now I have opened the pymc folder in pycharm, and am running pytest to see if things are working (using the env from pymc/conda-envs/environme…

---

## [Please help me understand why this unit test fails unpredictably](https://discourse.pymc.io/t/please-help-me-understand-why-this-unit-test-fails-unpredictably/9293)

<div class="topic-metadata">

**Author:** [@anne](https://discourse.pymc.io/u/anne)\
**Replies:** 0\
**Last updated:** [April 27, 2022, 3:05pm UTC](https://discourse.pymc.io/t/please-help-me-understand-why-this-unit-test-fails-unpredictably/9293 "2022-04-27T15:05:03Z")

</div>

I just ran pytest twice, with contradicting results. The first time, I got a failure in TestData.test\_sample\_posterior\_predictive\_after\_set\_data\_with\_coords: E AssertionError: E Not equal to tolerance rtol=…

---

## [Issue installing pymc](https://discourse.pymc.io/t/issue-installing-pymc/8976)

<div class="topic-metadata">

**Author:** [@pymcls](https://discourse.pymc.io/u/pymcls)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 4:29pm UTC](https://discourse.pymc.io/t/issue-installing-pymc/8976 "2022-03-09T16:29:11Z")

</div>

I am trying to use pymc in a jupyter notebook using a virtual environment kernel. This is on a windows computer using conda. I can tell from conda list that pymc is installed as is netCDF4, but when I try to import pymc,…

---

## [Installation of G++](https://discourse.pymc.io/t/installation-of-g/8553)

<div class="topic-metadata">

**Author:** [@Majid-Eskafi](https://discourse.pymc.io/u/Majid-Eskafi)\
**Replies:** 16\
**Last updated:** [February 14, 2022, 3:34am UTC](https://discourse.pymc.io/t/installation-of-g/8553 "2022-02-14T03:34:55Z")

</div>

Dear colleagues, When I use “import pymc3 as pm” and run a code I receive this warning: WARNING (theano.configdefaults): g++ not available, if using conda: conda install m2w64-toolchain Could you please let me know wh…

---

## [PyMC 4 beta import issue](https://discourse.pymc.io/t/pymc-4-beta-import-issue/8627)

<div class="topic-metadata">

**Author:** [@GMCobraz\_T](https://discourse.pymc.io/u/GMCobraz_T)\
**Replies:** 3\
**Last updated:** [January 25, 2022, 1:02pm UTC](https://discourse.pymc.io/t/pymc-4-beta-import-issue/8627 "2022-01-25T13:02:54Z")

</div>

Dear development team, Good day. I installed PyMC4 via pip install pymc --pre. But I faced error when import the pymc as shown in figure below: Can anyone please help? Thanks

---

## [Installation issue of mkl-service for PyMC3 on Apple M1-chip](https://discourse.pymc.io/t/installation-issue-of-mkl-service-for-pymc3-on-apple-m1-chip/8514)

<div class="topic-metadata">

**Author:** [@jroberayalas](https://discourse.pymc.io/u/jroberayalas)\
**Replies:** 3\
**Last updated:** [January 16, 2022, 6:07am UTC](https://discourse.pymc.io/t/installation-issue-of-mkl-service-for-pymc3-on-apple-m1-chip/8514 "2022-01-16T06:07:36Z")

</div>

Hi there, I’m using one of the new Apple laptops with an M1-chip and I’m trying to install on it PyMC3. I’m following the instructions from the website and simply using conda create -c conda-forge -n pymc3\_env python=3.…

---

## [Very slow sampling. Use my new computer with AMD cpu](https://discourse.pymc.io/t/very-slow-sampling-use-my-new-computer-with-amd-cpu/8490)

<div class="topic-metadata">

**Author:** [@dxd](https://discourse.pymc.io/u/dxd)\
**Replies:** 4\
**Last updated:** [December 25, 2021, 12:00pm UTC](https://discourse.pymc.io/t/very-slow-sampling-use-my-new-computer-with-amd-cpu/8490 "2021-12-25T12:00:50Z")

</div>

Hello PYMV team.recently i get a new computer with AMD R7-5800H and RTX-3060 .But when i ran the old code on the new computer, I found that the sampling was very slow（only use 10mins before，but now it need 10 hours） .An…

---

## [Docker GPU image for PyMC3](https://discourse.pymc.io/t/docker-gpu-image-for-pymc3/7233)

<div class="topic-metadata">

**Author:** [@ckrapu](https://discourse.pymc.io/u/ckrapu)\
**Replies:** 4\
**Last updated:** [December 10, 2021, 12:25pm UTC](https://discourse.pymc.io/t/docker-gpu-image-for-pymc3/7233 "2021-12-10T12:25:25Z")

</div>

I’m interested in creating a Docker image that can use the GPU for PyMC3. Currently, I am working on combining this image with the one listed in the PyMC3 github repository. Does anyone have any suggestions or best prac…
