ModuleNotFoundError: No module named 'ESMF'
sbeale007 opened this issue · 6 comments
Hello, I have installed xesmf using https://xesmf.readthedocs.io/en/latest/installation.html#install-on-local-machine-with-conda
I tried to import it in a jupyter notebook and got this error
It looks to me like I have esmf so I'm not too sure why I am having that error.
I ran the pytest on xesmf and got this message
ERROR anaconda3/envs/test-env/lib/python3.10/site-packages/xesmf/tests/test_backend.py
ERROR anaconda3/envs/test-env/lib/python3.10/site-packages/xesmf/tests/test_frontend.py
ERROR anaconda3/envs/test-env/lib/python3.10/site-packages/xesmf/tests/test_util.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
but I am not sure how to solve the problem
Any help is appreciated!
Thank you
the same problem encounted! i also do not know why
@sbeale007 this can happen if you don't restart your jupyter kernel after installing xesmf
.
I just had the same issue... do we have a solution yet?
@huili77 I use this when the issue comes up: conda-forge/esmf-feedstock#91 (comment)