Skip to content

Troubleshooting installation issues with M1P MBP, conda environment, and arviz #85

@HaXAlvin

Description

@HaXAlvin

Hi, just want to let you know, and hope can help somebody who also has the same problem.

I am using M1P MBP (Ventura 13.2.1).
I faced some issues when running conda env create -f bap.yml.
Sorry that I can't reproduce the error, but the error is about installing hdf5 and netcdf
I ran brew install hdf5 netcdf first to stove the problem.

The env installed successfully, but I still have an error trying to import arviz
The error shows:
ImportError: dlopen(/Users/alvin/opt/anaconda3/envs/bap/lib/python3.6/site-packages/netCDF4/_netCDF4.cpython-36m-darwin.so, 0x0002): symbol not found in flat namespace '_nc_close'
There's also a warning:
WARNING (theano.configdefaults): install mkl with ``conda install mkl-service``: No module named 'mkl'

I ran conda install -c conda-forge netCDF4 to fix them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions