AntSimi / py-eddy-tracker

Eddy identification and tracking
https://py-eddy-tracker.readthedocs.io/en/latest/
GNU General Public License v3.0
131 stars 55 forks source link

Any docker image or version info? #253

Open Carl-Llewellyn opened 1 day ago

Carl-Llewellyn commented 1 day ago

I've been trying to install dependencies on Linux in a virtual env, even tried moving to a VM with a lower OS Linux, along with Windows 10. I'm getting all kinds of errors.

Any info on what versions dependencies need to be? Or a Docker file?

Thanks!

AntSimi commented 1 day ago

There is no docker image. Which kind of error did you get?

Carl-Llewellyn commented 1 day ago

Using this:

https://py-eddy-tracker.readthedocs.io/en/latest/python_module/01_general_things/pet_storage.html#sphx-glr-python-module-01-general-things-pet-storage-py

ImportError: cannot import name 'float_' from 'numpy' (~/Downloads/py-eddy-tracker-master/venv/lib/python3.12/site-packages/numpy/__init__.py). Did you mean: 'float16'?

Trying to downgrade numpy:

pip install "numpy<1.24"

      File "/tmp/pip-build-env-ph97rvg6/overlay/lib/python3.12/site-packages/setuptools/version.py", line 1, in <module>
          import pkg_resources
        File "/tmp/pip-build-env-ph97rvg6/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2172, in <module>
          register_finder(pkgutil.ImpImporter, find_on_path)
                          ^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

I've gone through all of the things google says to do from here. However, it's just a wild goose chase, I assume because of versioning issues.

Using a Python 3.10 venv leads to:

  ERROR: Failed building wheel for polygon3