-
Notifications
You must be signed in to change notification settings - Fork 53
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
py_eddy_tracker.dataset.grid issue #218
Comments
Did you get same error when you do an |
No I didn't get any error when importing netcdf4, I tried installing pyeddytracker in multiple ways: |
I am having an issue with py_eddy_tracker.dataset.grid as well. I had to recreate the py-eddy-tracker environment after a system upgrade in the remote machine. conda env create --file environment.yml
conda activate binder-pyeddytracker
python setup.py install The error that comes for me: ImportError Traceback (most recent call last)
Cell In[2], line 23
21 from py_eddy_tracker.gui import GUI
22 from py_eddy_tracker.tracking import Correspondances
---> 23 from py_eddy_tracker.dataset.grid import UnRegularGridDataset
24 from py_eddy_tracker.eddy_feature import Contours
File ~/miniconda3/envs/binder-pyeddytracker/lib/python3.10/site-packages/py_eddy_tracker/dataset/grid.py:8
5 from datetime import datetime
6 import logging
----> 8 from cv2 import filter2D
9 from matplotlib.path import Path as BasePath
10 from netCDF4 import Dataset
File ~/miniconda3/envs/binder-pyeddytracker/lib/python3.10/site-packages/cv2/__init__.py:181
176 if DEBUG: print("Extra Python code for", submodule, "is loaded")
178 if DEBUG: print('OpenCV loader: DONE')
--> 181 bootstrap()
File ~/miniconda3/envs/binder-pyeddytracker/lib/python3.10/site-packages/cv2/__init__.py:153, in bootstrap()
149 if DEBUG: print("Relink everything from native cv2 module to cv2 package")
151 py_module = sys.modules.pop("cv2")
--> 153 native_module = importlib.import_module("cv2")
155 sys.modules["cv2"] = py_module
156 setattr(py_module, "_native", native_module)
File ~/miniconda3/envs/binder-pyeddytracker/lib/python3.10/importlib/__init__.py:126, in import_module(name, package)
124 break
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory |
Did you have same error if you only do (env creation must install also py eddy tracker package): conda env create --file environment.yml
conda activate binder-pyeddytracker |
Yes |
I don't know how to solve cv2 install problem, i am not able to reproduce this pb on several platform |
Hi, I'm trying to use the pyeddytracker package but I have been encountering multiple issues when downloading: I'm working on a virtual environment with Python 3.9.6 (I tried with 3.8.18 as well), and when I attempt to import py_eddy_tracker.dataset.grid I encounter the error above.
I see that the issue is with netCDF4, so I have tried both versions 1.5.8 and 1.6.0 but nothing changes; I have also encountered a number of errors related to numpy, but for now this seems to be the sole problem.
Thank you for any help you can give,
Emma
-->
The text was updated successfully, but these errors were encountered: