Library not loaded: @rpath/libopenblas.dylib

Hello,

I have just installed pymc3, via Conda $ conda install -c conda-forge pymc3 under Conda fenicsproject environment ($ conda activate fenicsproject , I installed pymc3 under fenicsproject environment so I could later interface them. )

However, when I tested pymc3 installation with python3 3 -c "import pymc3 as pm" , I received the following error, anyone know how to fix this? Thanks!

Traceback (most recent call last):
File “”, line 1, in
File “//anaconda3/envs/fenicsproject/lib/python3.7/site-packages/pymc3/init.py”, line 5, in
from .distributions import *
File “//anaconda3/envs/fenicsproject/lib/python3.7/site-packages/pymc3/distributions/init.py”, line 1, in
from . import timeseries
File “//anaconda3/envs/fenicsproject/lib/python3.7/site-packages/pymc3/distributions/timeseries.py”, line 1, in
from scipy import stats
File “//anaconda3/envs/fenicsproject/lib/python3.7/site-packages/scipy/stats/init.py”, line 367, in
from .stats import *
File “//anaconda3/envs/fenicsproject/lib/python3.7/site-packages/scipy/stats/stats.py”, line 172, in
import scipy.special as special
File “//anaconda3/envs/fenicsproject/lib/python3.7/site-packages/scipy/special/init.py”, line 641, in
from ._ufuncs import *
ImportError: dlopen(//anaconda3/envs/fenicsproject/lib/python3.7/site-packages/scipy/special/_ufuncs.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libopenblas.dylib
Referenced from: //anaconda3/envs/fenicsproject/lib/python3.7/site-packages/scipy/special/_ufuncs.cpython-37m-darwin.so
Reason: image not found

Notes: this error occurred on my MacOS. When I installed pymc3 on my Linux station with identical steps, it was successful.

seems it is something related to your c compiler - could you try open Xcode and check if there is any problem there?