orbit icon indicating copy to clipboard operation
orbit copied to clipboard

test_plot.py::test_plot_predicted_data hangs on M1 macOS

Open jeongyoonlee opened this issue 3 years ago • 1 comments

Describe the bug test_plot.py::test_plot_predicted_data test hangs on M1 macOS.

To Reproduce Steps to reproduce the behavior: Run pytest tests/orbit/diagnostics/test_plot.py::test_plot_predicted_data on M1 macOS

Expected behavior Test

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. macOS, Windows, Ubuntu] M1 macOS
  • Python Version: [e.g. 3.6, 3.7] 3.8
  • Versions of Major Dependencies (pandas, scikit-learn, cython): [e.g. pandas==0.25, scikit-learn==0.22, cython==0.28]
Cython==0.29.30
matplotlib==3.5.2
numpy==1.23.0
opt-einsum==3.3.0
pandas==1.4.3
pyro-api==0.1.2
pyro-ppl==1.8.1
pystan==2.19.1.1
pytest==7.1.2
pytest-cov==3.0.0
scipy==1.8.1
seaborn==0.11.2
statsmodels==0.13.2
torch==1.11.0

Additional context N/A

jeongyoonlee avatar Jun 27 '22 23:06 jeongyoonlee

Try the steps below. It works for me.

brew install hdf5 netcdf
git clone https://github.com/Unidata/netcdf4-python.git
HDF5_DIR=$(brew --prefix hdf5) pip install ./netcdf4-python

edwinnglabs avatar Aug 08 '22 00:08 edwinnglabs

Couldn't reproduce the issue anymore.

jeongyoonlee avatar Aug 19 '22 21:08 jeongyoonlee

hi @jeongyoonlee how did you install pystan 2.9.11 on your m1? I haven't been able to.

f0rodo avatar Nov 14 '22 19:11 f0rodo