Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netCDF4 ImportError: symbol not found in flat namespace '_H5get_libversion' #221

Open
fpavogt opened this issue Jun 20, 2022 · 0 comments
Open
Labels
wontfix This will not be worked on

Comments

@fpavogt
Copy link
Member

fpavogt commented Jun 20, 2022

Describe the bug

After a simple pip-install of dvas, running the high-level command dvas_optimize triggers the following error:

...
  File "/opt/miniconda3/envs/py310/lib/python3.10/site-packages/netCDF4/__init__.py", line 3, in <module>
    from ._netCDF4 import *
ImportError: dlopen(/opt/miniconda3/envs/py310/lib/python3.10/site-packages/netCDF4/_netCDF4.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_H5get_libversion'

This is a caused by netCDF4 not being installed properly. In particular, pip is unable to handle the necessary underlying C-dependencies of netCDF4.

The easiest way to install these is via conda ... assuming you are lucky enough to have access to the tool ...

@fpavogt fpavogt added the wontfix This will not be worked on label Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant