# Pytensor g++ not detected

**URL:** <https://discourse.pymc.io/t/pytensor-g-not-detected/13021>\
**Category:** v5\
**Created:** [September 29, 2023, 4:28pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021 "2023-09-29T16:28:06Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![EAly](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@EAly](https://discourse.pymc.io/u/EAly)\
**Post date:** [September 29, 2023, 4:28pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/1 "2023-09-29T16:28:06Z")

</div>

I’m using pymc on a macOS with m2 chip.  
my pymc version is 5.6.1 and pytensor version is 2.12.3  
when I import pymc i get the following warnings:

```auto
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.
WARNING (pytensor.tensor.blas): Using NumPy C-API based implementation for BLAS functions.

```

Conda list returns the following:

```auto
(base) root@aea054b8c575:/eapp# conda list
# packages in environment at /opt/conda:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main  
_openmp_mutex 5.1 51_gnu  
anyio 3.5.0 py311hd43f75c_0  
argon2-cffi 21.3.0 pyhd3eb1b0_0 anaconda
argon2-cffi-bindings 21.2.0 py311h998d150_0  
arviz 0.16.0 py311hd43f75c_0  
asttokens 2.0.5 pyhd3eb1b0_0 anaconda
atk-1.0 2.36.0 h920789f_0  
attrs 21.4.0 pyhd3eb1b0_0 anaconda
babel 2.9.1 pyhd3eb1b0_0 anaconda
backcall 0.2.0 pyhd3eb1b0_0 anaconda
blas 1.0 openblas  
bleach 4.1.0 pyhd3eb1b0_0 anaconda
boltons 23.0.0 py311hd43f75c_0  
bottleneck 1.3.5 py311h35366a8_0  
brotli 1.0.9 h998d150_7  
brotli-bin 1.0.9 h998d150_7  
brotlipy 0.7.0 py311h998d150_1002  
bzip2 1.0.8 hfd63f10_2  
c-ares 1.19.1 h998d150_0  
ca-certificates 2023.7.22 hcefe29a_0 conda-forge
cachetools 4.2.2 pyhd3eb1b0_0  
cairo 1.16.0 h537eab0_5  
certifi 2023.7.22 pyhd8ed1ab_0 conda-forge
cffi 1.15.1 py311h998d150_3  
charset-normalizer 2.0.4 pyhd3eb1b0_0  
cloudpickle 2.2.1 py311hd43f75c_0  
comm 0.1.2 py311hd43f75c_0  
conda 23.7.4 py311hd43f75c_0  
conda-content-trust 0.1.3 py311hd43f75c_0  
conda-libmamba-solver 23.5.0 py311hd43f75c_0  
conda-package-handling 2.2.0 py311hd43f75c_0  
conda-package-streaming 0.9.0 py311hd43f75c_0  
cons 0.4.6 py311hd43f75c_0  
contourpy 1.0.5 py311hb8fdbf2_0  
cryptography 39.0.1 py311h3d58568_2  
cycler 0.11.0 pyhd3eb1b0_0  
cyrus-sasl 2.1.28 h647bc0d_1  
dbus 1.13.18 h821dc26_0 anaconda
debugpy 1.6.7 py311h419075a_0  
decorator 5.1.1 pyhd3eb1b0_0 anaconda
defusedxml 0.7.1 pyhd3eb1b0_0 anaconda
dowhy 0.8 pyhd8ed1ab_0 conda-forge
entrypoints 0.4 py311hd43f75c_0  
etuples 0.3.9 py311hd43f75c_0  
executing 0.8.3 pyhd3eb1b0_0 anaconda
expat 2.5.0 h419075a_0  
fastprogress 1.0.0 pyhb85f177_0  
filelock 3.9.0 py311hd43f75c_0  
fmt 9.1.0 hb8fdbf2_0  
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.14.1 h652894d_2  
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.25.0 pyhd3eb1b0_0  
freetype 2.12.1 h6df46f4_0  
fribidi 1.0.10 hb9de7d4_0 conda-forge
gdk-pixbuf 2.42.10 h998d150_0  
giflib 5.2.1 h998d150_3  
glib 2.69.1 h94b7715_2  
gobject-introspection 1.72.0 py311ha19700e_2  
graphite2 1.3.14 h22f4aa5_1  
graphviz 2.50.0 h3c867b3_0  
gst-plugins-base 1.14.1 hfb8a71d_0 anaconda
gstreamer 1.14.1 h998d150_1  
gtk2 2.24.33 h15c6e69_2  
gts 0.7.6 h183d8e2_3  
h5netcdf 1.2.0 py311hd43f75c_0  
h5py 3.9.0 py311h47820c8_0  
harfbuzz 4.3.0 h085e3a5_0 anaconda
hdf5 1.12.1 h2117f30_3  
icu 68.1 h22f4aa5_0 anaconda
idna 3.4 py311hd43f75c_0  
ipykernel 6.25.0 py311h2163289_0  
ipython 8.15.0 py311hd43f75c_0  
ipython_genutils 0.2.0 pyhd3eb1b0_1 anaconda
ipywidgets 8.0.4 py311hd43f75c_0  
jedi 0.18.1 py311hd43f75c_1  
jinja2 3.0.3 pyhd3eb1b0_0 anaconda
joblib 1.3.2 pyhd8ed1ab_0 conda-forge
jpeg 9e h998d150_1  
json5 0.9.6 pyhd3eb1b0_0 anaconda
jsonpatch 1.32 pyhd3eb1b0_0  
jsonpointer 2.1 pyhd3eb1b0_0  
jsonschema 4.17.3 py311hd43f75c_0  
jupyter 1.0.0 py311hd43f75c_8  
jupyter_client 7.1.2 pyhd3eb1b0_0 anaconda
jupyter_console 6.4.3 pyhd3eb1b0_0 anaconda
jupyter_core 5.3.0 py311hd43f75c_0  
jupyter_server 1.13.5 pyhd3eb1b0_0 anaconda
jupyterlab 3.3.2 pyhd3eb1b0_0 anaconda
jupyterlab_server 2.10.3 pyhd3eb1b0_1 anaconda
jupyterlab_widgets 3.0.5 py311hd43f75c_0  
kiwisolver 1.4.4 py311h419075a_0  
krb5 1.20.1 h2e2fba8_1  
lcms2 2.12 h5246980_0  
ld_impl_linux-aarch64 2.38 h8131f2d_1  
lerc 3.0 h22f4aa5_0  
libarchive 3.6.2 h654c02d_2  
libbrotlicommon 1.0.9 h998d150_7  
libbrotlidec 1.0.9 h998d150_7  
libbrotlienc 1.0.9 h998d150_7  
libclang 14.0.6 default_hb0f70f9_0 anaconda
libclang13 14.0.6 default_hb7ff5d9_0 anaconda
libcups 2.4.2 hb788212_1  
libcurl 8.2.1 hfa2bbb0_0  
libdeflate 1.17 h998d150_0  
libedit 3.1.20221030 h998d150_0  
libev 4.33 hfd63f10_1  
libevent 2.1.12 h6ac735f_1  
libffi 3.4.4 h419075a_0  
libgcc-ng 11.2.0 h1234567_1  
libgd 2.3.3 hbda19f9_1  
libgfortran-ng 11.2.0 h6e398d7_1  
libgfortran5 11.2.0 h1234567_1  
libgomp 11.2.0 h1234567_1  
libllvm14 14.0.6 h308e764_1 anaconda
libmamba 1.5.1 h78dbd8a_0  
libmambapy 1.5.1 py311hd82f176_0  
libnghttp2 1.52.0 hb788212_1  
libopenblas 0.3.21 hc2e42e2_0  
libpng 1.6.39 h998d150_0  
libpq 12.15 h6ac735f_1  
librsvg 2.54.4 h4e28d0d_3  
libsodium 1.0.18 hfd63f10_0 anaconda
libsolv 0.7.24 h94b7715_0  
libssh2 1.10.0 h6ac735f_2  
libstdcxx-ng 11.2.0 h1234567_1  
libtiff 4.5.1 h419075a_0  
libtool 2.4.6 h419075a_1009  
libuuid 1.41.5 h998d150_0  
libwebp 1.3.2 he1bfee4_0  
libwebp-base 1.3.2 h998d150_0  
libxcb 1.15 h2f4d8fa_0  
libxkbcommon 1.0.1 h998d150_1  
libxml2 2.10.4 hd6958ba_0  
libxslt 1.1.37 h4d22567_0  
logical-unification 0.4.6 py311hd43f75c_0  
lz4-c 1.9.4 h419075a_0  
markupsafe 2.1.1 py311h998d150_0  
matplotlib 3.7.2 py311hd43f75c_0  
matplotlib-base 3.7.2 py311h6ace5ae_0  
matplotlib-inline 0.1.2 pyhd3eb1b0_2 anaconda
minikanren 1.0.3 py311hd43f75c_0  
mistune 0.8.4 py311h998d150_1000  
mpmath 1.3.0 pyhd8ed1ab_0 conda-forge
multipledispatch 0.6.0 py311hd43f75c_0  
munkres 1.1.4 py_0  
mysql 5.7.24 h3140d82_2  
nbclassic 0.5.5 py311hd43f75c_0  
nbconvert 5.5.0 py_0 anaconda
nbformat 5.1.3 pyhd3eb1b0_0 anaconda
ncurses 6.4 h419075a_0  
nest-asyncio 1.5.1 pyhd3eb1b0_0 anaconda
networkx 3.1 pyhd8ed1ab_0 conda-forge
ninja 1.10.2 hd43f75c_5  
ninja-base 1.10.2 h59a28a9_5  
notebook 6.5.4 py311hd43f75c_1  
notebook-shim 0.2.2 py311hd43f75c_0  
nspr 4.35 h419075a_0  
nss 3.89.1 h419075a_0  
numexpr 2.8.4 py311h69406f2_1  
numpy 1.25.2 py311h82f920c_0  
numpy-base 1.25.2 py311h592f769_0  
openssl 3.0.11 h2f4d8fa_2  
packaging 23.1 py311hd43f75c_0  
pandas 2.0.3 py311h6ace5ae_0  
pandoc 2.12 hd43f75c_1 anaconda
pandocfilters 1.5.0 pyhd3eb1b0_0 anaconda
pango 1.50.7 hcefcf85_0  
parso 0.8.3 pyhd3eb1b0_0 anaconda
patsy 0.5.3 pyhd8ed1ab_0 conda-forge
pcre 8.45 h01db608_0 conda-forge
pcre2 10.42 hcfaa891_0  
pexpect 4.8.0 pyhd3eb1b0_3 anaconda
pickleshare 0.7.5 pyhd3eb1b0_1003 anaconda
pillow 9.4.0 py311h419075a_1  
pip 23.1.2 py311hd43f75c_0  
pixman 0.40.0 h2f4d8fa_1  
platformdirs 3.10.0 py311hd43f75c_0  
pluggy 1.0.0 py311hd43f75c_1  
ply 3.11 py311hd43f75c_0  
prometheus_client 0.13.1 pyhd3eb1b0_0 anaconda
prompt-toolkit 3.0.36 py311hd43f75c_0  
prompt_toolkit 3.0.36 hd3eb1b0_0  
psutil 5.9.0 py311h998d150_0  
ptyprocess 0.7.0 pyhd3eb1b0_2 anaconda
pure_eval 0.2.2 pyhd3eb1b0_0 anaconda
pybind11-abi 4 hd3eb1b0_1  
pycosat 0.6.4 py311h998d150_0  
pycparser 2.21 pyhd3eb1b0_0  
pydot 1.4.2 py311hd43f75c_0  
pygments 2.11.2 pyhd3eb1b0_0 anaconda
pymc 5.6.1 py311h29fea54_0  
pyopenssl 23.2.0 py311hd43f75c_0  
pyparsing 2.4.7 pyhd8ed1ab_1 conda-forge
pyqt 5.15.7 py311h419075a_0  
pyqt5-sip 12.11.0 py311h419075a_0  
pyrsistent 0.18.0 py311h998d150_0  
pysocks 1.7.1 py311hd43f75c_0  
pytensor 2.12.3 py311h6ace5ae_0  
python 3.11.5 h4bb2201_0  
python-dateutil 2.8.2 pyhd3eb1b0_0  
python-tzdata 2023.3 pyhd3eb1b0_0  
pytz 2023.3.post1 py311hd43f75c_0  
pyzmq 23.2.0 py311h419075a_0  
qt-main 5.15.2 hf18d10e_9  
qt-webengine 5.15.9 hbbdc176_7  
qtconsole 5.3.0 pyhd3eb1b0_0 anaconda
qtpy 2.2.0 py311hd43f75c_0  
qtwebkit 5.212 ha4719be_5  
readline 8.2 h998d150_0  
reproc 14.2.4 h22f4aa5_1  
reproc-cpp 14.2.4 h22f4aa5_1  
requests 2.31.0 py311hd43f75c_0  
ruamel.yaml 0.17.21 py311h998d150_0  
scikit-learn 1.2.2 py311h419075a_1  
scipy 1.11.1 py311h82f920c_0  
seaborn 0.12.2 py311hd43f75c_0  
send2trash 1.8.0 pyhd3eb1b0_1 anaconda
setuptools 67.8.0 py311hd43f75c_0  
sip 6.6.2 py311h419075a_0  
six 1.16.0 pyhd3eb1b0_1  
sniffio 1.2.0 py311hd43f75c_1  
sqlite 3.41.2 h998d150_0  
stack_data 0.2.0 pyhd3eb1b0_0 anaconda
statsmodels 0.14.0 py311h1976a39_0  
sympy 1.12 pyh04b8f61_3 conda-forge
terminado 0.17.1 py311hd43f75c_0  
testpath 0.5.0 pyhd3eb1b0_0 anaconda
threadpoolctl 3.2.0 pyha21a80b_0 conda-forge
tk 8.6.12 h241ca14_0  
toml 0.10.2 pyhd3eb1b0_0 anaconda
toolz 0.12.0 py311hd43f75c_0  
tornado 6.3.2 py311h998d150_0  
tqdm 4.65.0 py311h2163289_0  
traitlets 5.7.1 py311hd43f75c_0  
typing-extensions 4.7.1 py311hd43f75c_0  
typing_extensions 4.7.1 py311hd43f75c_0  
tzdata 2023c h04d1e81_0  
urllib3 1.26.16 py311hd43f75c_0  
wcwidth 0.2.5 pyhd3eb1b0_0 anaconda
webencodings 0.5.1 py311hd43f75c_1  
websocket-client 0.58.0 py311hd43f75c_4  
wheel 0.38.4 py311hd43f75c_0  
widgetsnbextension 4.0.5 py311hd43f75c_0  
xarray 2023.6.0 py311hd43f75c_0  
xarray-einstats 0.6.0 py311hd43f75c_0  
xz 5.4.2 h998d150_0  
yaml-cpp 0.7.0 h22f4aa5_1  
zeromq 4.3.4 h7c1a80f_0 anaconda
zlib 1.2.13 h998d150_0  
zstandard 0.19.0 py311h998d150_0  
zstd 1.5.5 h6a09583_0  
(base) root@aea054b8c575:/eapp# 

```

I would appreciate your help figuring this out

---

<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:** [September 29, 2023, 4:30pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/2 "2023-09-29T16:30:48Z")

</div>

I suspect that you installed PyMC using an method other than the recommended procedure found [here](https://www.pymc.io/projects/docs/en/latest/installation.html). If you create a new environment using those instructions, does it fix things?

---

<div class="post-metadata">

**Author:** ![EAly](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@EAly](https://discourse.pymc.io/u/EAly)\
**Post date:** [September 29, 2023, 4:37pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/3 "2023-09-29T16:37:22Z")

</div>

I’ve installed PyMC following the recommended procedure mentioned in the link you referenced. Yes, it is still there

---

<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:** [September 29, 2023, 4:51pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/4 "2023-09-29T16:51:27Z")

</div>

Can you show the new conda list with the new environment (and latest pymc)? Your old printout was showing a mixing of anaconda and conda-forge packages which could be problematic.

---

<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:** [September 29, 2023, 5:32pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/5 "2023-09-29T17:32:58Z")

</div>

I recall having this issue. I used a pip install of PyMC and got the same message. What worked for me on that system was to directly install g++ which was not actually installed already.

---

<div class="post-metadata">

**Author:** ![EAly](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@EAly](https://discourse.pymc.io/u/EAly)\
**Post date:** [September 29, 2023, 5:35pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/6 "2023-09-29T17:35:23Z")

</div>

Hi, @ricardoV94

```auto
(base) root@5a9b68ecbb02:/eapp# conda list
# packages in environment at /opt/conda:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main  
_openmp_mutex 5.1 51_gnu  
arviz 0.16.1 pyhd8ed1ab_1 conda-forge
blas 1.0 openblas  
boltons 23.0.0 py311hd43f75c_0  
bottleneck 1.3.5 py311h35366a8_0  
brotli 1.0.9 h01db608_4 conda-forge
brotlipy 0.7.0 py311h998d150_1002  
bzip2 1.0.8 hfd63f10_2  
c-ares 1.19.0 h998d150_0  
ca-certificates 2023.7.22 hcefe29a_0 conda-forge
cachetools 5.3.1 pyhd8ed1ab_0 conda-forge
certifi 2023.7.22 pyhd8ed1ab_0 conda-forge
cffi 1.15.1 py311h998d150_3  
charset-normalizer 2.0.4 pyhd3eb1b0_0  
cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge
conda 23.7.4 py311hd43f75c_0  
conda-content-trust 0.1.3 py311hd43f75c_0  
conda-libmamba-solver 23.5.0 py311hd43f75c_0  
conda-package-handling 2.1.0 py311hd43f75c_0  
conda-package-streaming 0.8.0 py311hd43f75c_0  
cons 0.4.6 pyhd8ed1ab_0 conda-forge
contourpy 1.0.5 py311hb8fdbf2_0  
cryptography 39.0.1 py311h3d58568_2  
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
etuples 0.3.9 pyhd8ed1ab_0 conda-forge
fastprogress 1.0.3 pyhd8ed1ab_0 conda-forge
filelock 3.12.4 pyhd8ed1ab_0 conda-forge
fmt 9.1.0 hb8fdbf2_0  
fonttools 4.25.0 pyhd3eb1b0_0  
freetype 2.12.1 h6df46f4_0  
giflib 5.2.1 hb9de7d4_2 conda-forge
h5netcdf 1.2.0 pyhd8ed1ab_0 conda-forge
h5py 3.9.0 py311h47820c8_0  
hdf5 1.12.1 h2117f30_3  
icu 68.1 h22f4aa5_0  
idna 3.4 py311hd43f75c_0  
jpeg 9e h9cdd2b7_1 conda-forge
jsonpatch 1.32 pyhd3eb1b0_0  
jsonpointer 2.1 pyhd3eb1b0_0  
kiwisolver 1.4.4 py311h419075a_0  
krb5 1.20.1 h2e2fba8_1  
lcms2 2.12 h5246980_0  
ld_impl_linux-aarch64 2.38 h8131f2d_1  
lerc 3.0 h22f4aa5_0  
libarchive 3.6.2 h654c02d_2  
libcurl 8.1.1 hfa2bbb0_1  
libdeflate 1.17 h998d150_1  
libedit 3.1.20221030 h998d150_0  
libev 4.33 hfd63f10_1  
libffi 3.4.4 h419075a_0  
libgcc-ng 11.2.0 h1234567_1  
libgfortran-ng 13.2.0 he9431aa_0 conda-forge
libgfortran5 13.2.0 h582850c_0 conda-forge
libgomp 11.2.0 h1234567_1  
libmamba 1.4.1 hd82f176_1  
libmambapy 1.4.1 py311hd82f176_1  
libnghttp2 1.52.0 hb788212_1  
libopenblas 0.3.21 hc2e42e2_0  
libpng 1.6.39 h998d150_0  
libsolv 0.7.22 h94b7715_0  
libssh2 1.10.0 h6ac735f_2  
libstdcxx-ng 11.2.0 h1234567_1  
libtiff 4.5.1 h419075a_0  
libuuid 1.41.5 h998d150_0  
libwebp 1.3.2 he1bfee4_0  
libwebp-base 1.3.2 h998d150_0  
libxml2 2.10.3 hd6958ba_0  
logical-unification 0.4.6 pyhd8ed1ab_0 conda-forge
lz4-c 1.9.4 h419075a_0  
matplotlib-base 3.6.2 py311h52e9892_0  
minikanren 1.0.3 pyhd8ed1ab_0 conda-forge
multipledispatch 0.6.0 py_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
ncurses 6.4 h419075a_0  
numexpr 2.8.4 py311h69406f2_1  
numpy 1.26.0 py311h82f920c_0  
numpy-base 1.26.0 py311h592f769_0  
openssl 3.0.11 h2f4d8fa_2  
packaging 23.0 py311hd43f75c_0  
pandas 2.0.3 py311h6ace5ae_0  
pcre2 10.37 ha6b7f17_1  
pillow 9.4.0 py311h419075a_1  
pip 23.1.2 py311hd43f75c_0  
pluggy 1.0.0 py311hd43f75c_1  
pybind11-abi 4 hd3eb1b0_1  
pycosat 0.6.4 py311h998d150_0  
pycparser 2.21 pyhd3eb1b0_0  
pymc 5.6.1 py311h29fea54_0  
pyopenssl 23.0.0 py311hd43f75c_0  
pyparsing 3.1.1 pyhd8ed1ab_0 conda-forge
pysocks 1.7.1 py311hd43f75c_0  
pytensor 2.12.3 py311h6ace5ae_0  
python 3.11.4 h4bb2201_0  
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-tzdata 2023.3 pyhd8ed1ab_0 conda-forge
pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge
readline 8.2 h998d150_0  
reproc 14.2.4 h22f4aa5_1  
reproc-cpp 14.2.4 h22f4aa5_1  
requests 2.29.0 py311hd43f75c_0  
ruamel.yaml 0.17.21 py311h998d150_0  
scipy 1.11.1 py311h82f920c_0  
setuptools 67.8.0 py311hd43f75c_0  
six 1.16.0 pyhd3eb1b0_1  
sqlite 3.41.2 h998d150_0  
tk 8.6.12 h241ca14_0  
toolz 0.12.0 py311hd43f75c_0  
tqdm 4.65.0 py311h2163289_0  
typing-extensions 4.8.0 hd8ed1ab_0 conda-forge
typing_extensions 4.8.0 pyha770c72_0 conda-forge
tzdata 2023c h04d1e81_0  
urllib3 1.26.16 py311hd43f75c_0  
wheel 0.38.4 py311hd43f75c_0  
xarray 2023.9.0 pyhd8ed1ab_0 conda-forge
xarray-einstats 0.6.0 pyhd8ed1ab_0 conda-forge
xz 5.4.2 h998d150_0  
yaml-cpp 0.7.0 h22f4aa5_1  
zlib 1.2.13 h998d150_0  
zstandard 0.19.0 py311h998d150_0  
zstd 1.5.5 h6a09583_0  

```

In this environment, I haven’t installed any other packages except pymc using ` conda install -c conda-forge pymc` . I’ve no idea why it installed 5.6.1 instead of the latest!

---

<div class="post-metadata">

**Author:** ![EAly](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@EAly](https://discourse.pymc.io/u/EAly)\
**Post date:** [September 29, 2023, 5:36pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/7 "2023-09-29T17:36:42Z")

</div>

Hi @Galen_Seilis,  
may I know what system was you using?

---

<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:** [September 29, 2023, 5:38pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/8 "2023-09-29T17:38:09Z")

</div>

```auto
Compiler : MSC v.1929 64 bit (AMD64)
OS : Windows
Release : 10
Machine : AMD64
Processor : Intel64 Family 6 Model 85 Stepping 0, GenuineIntel
CPU cores : 8
Architecture: 64bit

```

---

<div class="post-metadata">

**Author:** ![EAly](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@EAly](https://discourse.pymc.io/u/EAly)\
**Post date:** [September 29, 2023, 5:40pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/9 "2023-09-29T17:40:58Z")

</div>

I’m using a mac with an M2 chip, so I suppose I shouldn’t need to manually install g++

---

<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:** [September 30, 2023, 12:54am UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/10 "2023-09-30T00:54:30Z")

</div>

That is the package list for your **base** environment, which suggests that you didn’t follow the instructions linked to above. Or you did follow the instructions, but that package list isn’t from the newly created environment.

---

<div class="post-metadata">

**Author:** ![EAly](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@EAly](https://discourse.pymc.io/u/EAly)\
**Post date:** [September 30, 2023, 4:00am UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/11 "2023-09-30T04:00:14Z")

</div>

Hi @cluhmann,

I’m using conda inside a Docker container, so do I still need to create a new env in that case?  
I assumed that having a containerized dev environment, I can directly install pymc. Also while creating the container, I specified that all the packages should be installed from conda-forge

Appreciate your help.

---

<div class="post-metadata">

**Author:** ![EAly](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@EAly](https://discourse.pymc.io/u/EAly)\
**Post date:** [September 30, 2023, 4:58am UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/12 "2023-09-30T04:58:32Z")

</div>

Hi @cluhmann and @ricardoV94  
I installed pymc locally using the recommended procedure, but now I get new error:

```auto
---------------------------------------------------------------------------
NoSectionError Traceback (most recent call last)
File ~/miniconda3/envs/pymc_env/lib/python3.11/site-packages/pytensor/configparser.py:201, in PyTensorConfigParser.fetch_val_for_key(self, key, delete_key)
    200 try:
--> 201 return self._pytensor_cfg.get(section, option)
    202 except InterpolationError:

File ~/miniconda3/envs/pymc_env/lib/python3.11/configparser.py:797, in RawConfigParser.get(self, section, option, raw, vars, fallback)
    796 try:
--> 797 d = self._unify_values(section, vars)
    798 except NoSectionError:

File ~/miniconda3/envs/pymc_env/lib/python3.11/configparser.py:1168, in RawConfigParser._unify_values(self, section, vars)
   1167 if section != self.default_section:
-> 1168 raise NoSectionError(section) from None
   1169 # Update with the entry specific variables

NoSectionError: No section: 'blas'

During handling of the above exception, another exception occurred:

KeyError Traceback (most recent call last)
File ~/miniconda3/envs/pymc_env/lib/python3.11/site-packages/pytensor/configparser.py:317, in ConfigParam. __get__ (self, cls, type_, delete_key)
    316 try:
--> 317 val_str = cls.fetch_val_for_key(self.name, delete_key=delete_key)
...
-> 2720 blas_info = np. __config__.get_info("blas_opt")
   2722 # If we are in a EPD installation, mkl is available
   2723 if "EPD" in sys.version:

AttributeError: module 'numpy. __config__' has no attribute 'get_info'

```

Running `conda list` returns:

```auto
(pymc_env) ea pymcTryouts $ conda list
# packages in environment at /Users/ea/miniconda3/envs/pymc_env:
#
# Name Version Build Channel
appnope 0.1.3 pyhd8ed1ab_0 conda-forge
arviz 0.16.1 pyhd8ed1ab_1 conda-forge
asttokens 2.4.0 pyhd8ed1ab_0 conda-forge
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
backports 1.0 pyhd8ed1ab_3 conda-forge
backports.functools_lru_cache 1.6.5 pyhd8ed1ab_0 conda-forge
brotli 1.1.0 hb547adb_1 conda-forge
brotli-bin 1.1.0 hb547adb_1 conda-forge
bzip2 1.0.8 h3422bc3_4 conda-forge
c-ares 1.19.1 hb547adb_0 conda-forge
ca-certificates 2023.7.22 hf0a4a13_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
cachetools 5.3.1 pyhd8ed1ab_0 conda-forge
certifi 2023.7.22 pyhd8ed1ab_0 conda-forge
cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge
comm 0.1.4 pyhd8ed1ab_0 conda-forge
cons 0.4.6 pyhd8ed1ab_0 conda-forge
contourpy 1.1.1 py311he4fd1f5_1 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
debugpy 1.8.0 py311ha891d26_1 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
etuples 0.3.9 pyhd8ed1ab_0 conda-forge
exceptiongroup 1.1.3 pyhd8ed1ab_0 conda-forge
executing 1.2.0 pyhd8ed1ab_0 conda-forge
fastprogress 1.0.3 pyhd8ed1ab_0 conda-forge
filelock 3.12.4 pyhd8ed1ab_0 conda-forge
fonttools 4.43.0 py311heffc1b2_0 conda-forge
freetype 2.12.1 hadb7bae_2 conda-forge
h5netcdf 1.2.0 pyhd8ed1ab_0 conda-forge
h5py 3.9.0 nompi_py311h4794d1a_103 conda-forge
hdf5 1.14.2 nompi_h3aba7b3_100 conda-forge
importlib-metadata 6.8.0 pyha770c72_0 conda-forge
importlib_metadata 6.8.0 hd8ed1ab_0 conda-forge
ipykernel 6.25.2 pyh1050b4e_0 conda-forge
ipython 8.16.0 pyh31c8845_0 conda-forge
jedi 0.19.0 pyhd8ed1ab_0 conda-forge
jupyter_client 8.3.1 pyhd8ed1ab_0 conda-forge
jupyter_core 5.3.2 py311h267d04e_0 conda-forge
kiwisolver 1.4.5 py311he4fd1f5_1 conda-forge
krb5 1.21.2 h92f50d5_0 conda-forge
lcms2 2.15 h40e5a24_2 conda-forge
lerc 4.0.0 h9a09cb3_0 conda-forge
libaec 1.0.6 hb7217d7_1 conda-forge
libblas 3.9.0 18_osxarm64_openblas conda-forge
libbrotlicommon 1.1.0 hb547adb_1 conda-forge
libbrotlidec 1.1.0 hb547adb_1 conda-forge
libbrotlienc 1.1.0 hb547adb_1 conda-forge
libcblas 3.9.0 18_osxarm64_openblas conda-forge
libcurl 8.3.0 hc52a3a8_0 conda-forge
libcxx 16.0.6 h4653b0c_0 conda-forge
libdeflate 1.19 hb547adb_0 conda-forge
libedit 3.1.20191231 hc8eb9b7_2 conda-forge
libev 4.33 h642e427_1 conda-forge
libexpat 2.5.0 hb7217d7_1 conda-forge
libffi 3.4.2 h3422bc3_5 conda-forge
libgfortran 5.0.0 13_2_0_hd922786_1 conda-forge
libgfortran5 13.2.0 hf226fd6_1 conda-forge
libjpeg-turbo 2.1.5.1 hb547adb_1 conda-forge
liblapack 3.9.0 18_osxarm64_openblas conda-forge
libnghttp2 1.52.0 hae82a92_0 conda-forge
libopenblas 0.3.24 openmp_hd76b1f2_0 conda-forge
libpng 1.6.39 h76d750c_0 conda-forge
libsodium 1.0.18 h27ca646_1 conda-forge
libsqlite 3.43.0 hb31c410_0 conda-forge
libssh2 1.11.0 h7a5bd25_0 conda-forge
libtiff 4.6.0 h77c4dce_1 conda-forge
libwebp-base 1.3.2 hb547adb_0 conda-forge
libxcb 1.15 hf346824_0 conda-forge
libzlib 1.2.13 h53f4e23_5 conda-forge
llvm-openmp 16.0.6 h1c12783_0 conda-forge
logical-unification 0.4.6 pyhd8ed1ab_0 conda-forge
matplotlib-base 3.8.0 py311h3bc9839_1 conda-forge
matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge
minikanren 1.0.3 pyhd8ed1ab_0 conda-forge
multipledispatch 0.6.0 py_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
ncurses 6.4 h7ea286d_0 conda-forge
nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge
numpy 1.26.0 py311hb8f3215_0 conda-forge
openjpeg 2.5.0 h4c1507b_3 conda-forge
openssl 3.1.3 h53f4e23_0 conda-forge
packaging 23.1 pyhd8ed1ab_0 conda-forge
pandas 2.1.1 py311h9e438b8_1 conda-forge
parso 0.8.3 pyhd8ed1ab_0 conda-forge
pexpect 4.8.0 pyh1a96a4e_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 10.0.1 py311he9c13d2_1 conda-forge
pip 23.2.1 pyhd8ed1ab_0 conda-forge
platformdirs 3.10.0 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.39 pyha770c72_0 conda-forge
prompt_toolkit 3.0.39 hd8ed1ab_0 conda-forge
psutil 5.9.5 py311heffc1b2_1 conda-forge
pthread-stubs 0.4 h27ca646_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge
pygments 2.16.1 pyhd8ed1ab_0 conda-forge
pymc 5.6.1 py311hea593b9_0  
pyparsing 3.1.1 pyhd8ed1ab_0 conda-forge
pytensor 2.12.3 py311h7aedaa7_0  
python 3.11.5 h47c9636_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-tzdata 2023.3 pyhd8ed1ab_0 conda-forge
python_abi 3.11 4_cp311 conda-forge
pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge
pyzmq 25.1.1 py311hb1af645_1 conda-forge
readline 8.2 h92ec313_1 conda-forge
scipy 1.11.3 py311h93d07a4_0 conda-forge
setuptools 68.2.2 pyhd8ed1ab_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
stack_data 0.6.2 pyhd8ed1ab_0 conda-forge
tk 8.6.13 hb31c410_0 conda-forge
toolz 0.12.0 pyhd8ed1ab_0 conda-forge
tornado 6.3.3 py311heffc1b2_1 conda-forge
traitlets 5.10.1 pyhd8ed1ab_0 conda-forge
typing-extensions 4.8.0 hd8ed1ab_0 conda-forge
typing_extensions 4.8.0 pyha770c72_0 conda-forge
tzdata 2023c h71feb2d_0 conda-forge
wcwidth 0.2.7 pyhd8ed1ab_0 conda-forge
wheel 0.41.2 pyhd8ed1ab_0 conda-forge
xarray 2023.9.0 pyhd8ed1ab_0 conda-forge
xarray-einstats 0.6.0 pyhd8ed1ab_0 conda-forge
xorg-libxau 1.0.11 hb547adb_0 conda-forge
xorg-libxdmcp 1.1.3 h27ca646_0 conda-forge
xz 5.2.6 h57fd34a_0 conda-forge
zeromq 4.3.4 hbdafb3b_1 conda-forge
zipp 3.17.0 pyhd8ed1ab_0 conda-forge
zstd 1.5.5 h4f39d0f_0 conda-forge

```

---

<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:27am UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/13 "2023-09-30T10:27:52Z")

</div>

Hi, I just posted the same issue in another thread: [Install pymc issues - #6 by aakhmetz](https://discourse.pymc.io/t/install-pymc-issues/12288/6)

I downgraded the numpy to 1.25.2 and it solved the issue. Could you please check if it would work for you?

```auto
pip install numpy==1.25.2

```

---

<div class="post-metadata">

**Author:** ![EAly](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@EAly](https://discourse.pymc.io/u/EAly)\
**Post date:** [September 30, 2023, 1:15pm UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/14 "2023-09-30T13:15:45Z")

</div>

Hi @aakhmetz,

Thanks for your help, that solved the problem of the error. However, I now get the following warning:  
`WARNING (pytensor.tensor.blas): Using NumPy C-API based implementation for BLAS functions.`

Currently the conda list is:

```auto
(pymc_env) ea pymcTryouts $ conda list
# packages in environment at /Users/ea/miniconda3/envs/pymc_env:
#
# Name Version Build Channel
appnope 0.1.3 pyhd8ed1ab_0 conda-forge
arviz 0.16.1 pyhd8ed1ab_1 conda-forge
asttokens 2.4.0 pyhd8ed1ab_0 conda-forge
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
backports 1.0 pyhd8ed1ab_3 conda-forge
backports.functools_lru_cache 1.6.5 pyhd8ed1ab_0 conda-forge
blas 1.0 openblas  
brotli 1.1.0 hb547adb_1 conda-forge
brotli-bin 1.1.0 hb547adb_1 conda-forge
bzip2 1.0.8 h3422bc3_4 conda-forge
c-ares 1.19.1 hb547adb_0 conda-forge
ca-certificates 2023.7.22 hf0a4a13_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
cachetools 5.3.1 pyhd8ed1ab_0 conda-forge
certifi 2023.7.22 pyhd8ed1ab_0 conda-forge
cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge
comm 0.1.4 pyhd8ed1ab_0 conda-forge
cons 0.4.6 pyhd8ed1ab_0 conda-forge
contourpy 1.1.1 py311he4fd1f5_1 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
debugpy 1.8.0 py311ha891d26_1 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
etuples 0.3.9 pyhd8ed1ab_0 conda-forge
exceptiongroup 1.1.3 pyhd8ed1ab_0 conda-forge
executing 1.2.0 pyhd8ed1ab_0 conda-forge
fastprogress 1.0.3 pyhd8ed1ab_0 conda-forge
filelock 3.12.4 pyhd8ed1ab_0 conda-forge
fonttools 4.43.0 py311heffc1b2_0 conda-forge
freetype 2.12.1 hadb7bae_2 conda-forge
h5netcdf 1.2.0 pyhd8ed1ab_0 conda-forge
h5py 3.9.0 nompi_py311h4794d1a_103 conda-forge
hdf5 1.14.2 nompi_h3aba7b3_100 conda-forge
importlib-metadata 6.8.0 pyha770c72_0 conda-forge
importlib_metadata 6.8.0 hd8ed1ab_0 conda-forge
ipykernel 6.25.2 pyh1050b4e_0 conda-forge
ipython 8.16.0 pyh31c8845_0 conda-forge
jedi 0.19.0 pyhd8ed1ab_0 conda-forge
jupyter_client 8.3.1 pyhd8ed1ab_0 conda-forge
jupyter_core 5.3.2 py311h267d04e_0 conda-forge
kiwisolver 1.4.5 py311he4fd1f5_1 conda-forge
krb5 1.21.2 h92f50d5_0 conda-forge
lcms2 2.15 h40e5a24_2 conda-forge
lerc 4.0.0 h9a09cb3_0 conda-forge
libaec 1.0.6 hb7217d7_1 conda-forge
libblas 3.9.0 18_osxarm64_openblas conda-forge
libbrotlicommon 1.1.0 hb547adb_1 conda-forge
libbrotlidec 1.1.0 hb547adb_1 conda-forge
libbrotlienc 1.1.0 hb547adb_1 conda-forge
libcblas 3.9.0 18_osxarm64_openblas conda-forge
libcurl 8.3.0 hc52a3a8_0 conda-forge
libcxx 16.0.6 h4653b0c_0 conda-forge
libdeflate 1.19 hb547adb_0 conda-forge
libedit 3.1.20191231 hc8eb9b7_2 conda-forge
libev 4.33 h642e427_1 conda-forge
libexpat 2.5.0 hb7217d7_1 conda-forge
libffi 3.4.2 h3422bc3_5 conda-forge
libgfortran 5.0.0 13_2_0_hd922786_1 conda-forge
libgfortran5 13.2.0 hf226fd6_1 conda-forge
libjpeg-turbo 2.1.5.1 hb547adb_1 conda-forge
liblapack 3.9.0 18_osxarm64_openblas conda-forge
libnghttp2 1.52.0 hae82a92_0 conda-forge
libopenblas 0.3.24 openmp_hd76b1f2_0 conda-forge
libpng 1.6.39 h76d750c_0 conda-forge
libsodium 1.0.18 h27ca646_1 conda-forge
libsqlite 3.43.0 hb31c410_0 conda-forge
libssh2 1.11.0 h7a5bd25_0 conda-forge
libtiff 4.6.0 h77c4dce_1 conda-forge
libwebp-base 1.3.2 hb547adb_0 conda-forge
libxcb 1.15 hf346824_0 conda-forge
libzlib 1.2.13 h53f4e23_5 conda-forge
llvm-openmp 16.0.6 h1c12783_0 conda-forge
logical-unification 0.4.6 pyhd8ed1ab_0 conda-forge
matplotlib-base 3.8.0 py311h3bc9839_1 conda-forge
matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge
minikanren 1.0.3 pyhd8ed1ab_0 conda-forge
multipledispatch 0.6.0 py_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
ncurses 6.4 h7ea286d_0 conda-forge
nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge
numpy 1.25.2 py311he598dae_0  
numpy-base 1.25.2 py311hfbfe69c_0  
openjpeg 2.5.0 h4c1507b_3 conda-forge
openssl 3.1.3 h53f4e23_0 conda-forge
packaging 23.1 pyhd8ed1ab_0 conda-forge
pandas 2.1.1 py311h9e438b8_1 conda-forge
parso 0.8.3 pyhd8ed1ab_0 conda-forge
pexpect 4.8.0 pyh1a96a4e_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 10.0.1 py311he9c13d2_1 conda-forge
pip 23.2.1 pyhd8ed1ab_0 conda-forge
platformdirs 3.10.0 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.39 pyha770c72_0 conda-forge
prompt_toolkit 3.0.39 hd8ed1ab_0 conda-forge
psutil 5.9.5 py311heffc1b2_1 conda-forge
pthread-stubs 0.4 h27ca646_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge
pygments 2.16.1 pyhd8ed1ab_0 conda-forge
pymc 5.6.1 py311hea593b9_0  
pyparsing 3.1.1 pyhd8ed1ab_0 conda-forge
pytensor 2.12.3 py311h7aedaa7_0  
python 3.11.5 h47c9636_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-tzdata 2023.3 pyhd8ed1ab_0 conda-forge
python_abi 3.11 4_cp311 conda-forge
pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge
pyzmq 25.1.1 py311hb1af645_1 conda-forge
readline 8.2 h92ec313_1 conda-forge
scipy 1.11.3 py311h93d07a4_0 conda-forge
setuptools 68.2.2 pyhd8ed1ab_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
stack_data 0.6.2 pyhd8ed1ab_0 conda-forge
tk 8.6.13 hb31c410_0 conda-forge
toolz 0.12.0 pyhd8ed1ab_0 conda-forge
tornado 6.3.3 py311heffc1b2_1 conda-forge
traitlets 5.10.1 pyhd8ed1ab_0 conda-forge
typing-extensions 4.8.0 hd8ed1ab_0 conda-forge
typing_extensions 4.8.0 pyha770c72_0 conda-forge
tzdata 2023c h71feb2d_0 conda-forge
wcwidth 0.2.7 pyhd8ed1ab_0 conda-forge
wheel 0.41.2 pyhd8ed1ab_0 conda-forge
xarray 2023.9.0 pyhd8ed1ab_0 conda-forge
xarray-einstats 0.6.0 pyhd8ed1ab_0 conda-forge
xorg-libxau 1.0.11 hb547adb_0 conda-forge
xorg-libxdmcp 1.1.3 h27ca646_0 conda-forge
xz 5.2.6 h57fd34a_0 conda-forge
zeromq 4.3.4 hbdafb3b_1 conda-forge
zipp 3.17.0 pyhd8ed1ab_0 conda-forge
zstd 1.5.5 h4f39d0f_0 conda-forge
(pymc_env) ea pymcTryouts $ 

```

---

<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:** [October 1, 2023, 8:29am UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/15 "2023-10-01T08:29:06Z")

</div>

maybe you can check this thread [Performance tip if you're on ARM64 (Apple's M1/M2 chips): Install accelerate](https://discourse.pymc.io/t/performance-tip-if-youre-on-arm64-apples-m1-m2-chips-install-accelerate/12495)

---

<div class="post-metadata">

**Author:** ![EAly](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@EAly](https://discourse.pymc.io/u/EAly)\
**Post date:** [October 2, 2023, 4:22am UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/16 "2023-10-02T04:22:53Z")

</div>

Thanks @aakhmetz  
Using `conda install -c conda-forge 'libblas=*=*accelerate'`  
seems to solve the issue

---

<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:** [October 2, 2023, 8:12am UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/17 "2023-10-02T08:12:25Z")

</div>

@EAly nice, I assume a newer version of numpy 1.26.0 may be working for you now

---

<div class="post-metadata">

**Author:** ![Yonatan\_Nathan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/yonatan_nathan/32/7262_2.png) [@Yonatan\_Nathan](https://discourse.pymc.io/u/Yonatan_Nathan)\
**Post date:** [October 9, 2023, 11:57am UTC](https://discourse.pymc.io/t/pytensor-g-not-detected/13021/18 "2023-10-09T11:57:08Z")

</div>

> [@aakhmetz](#):
>
> Performance tip if you’re on ARM64 (Apple’s M1/M2 chips): Install accelerate

Thanks, this solved the same problem for me too, on mac M1.
