CROCO Pytools package missing

I am just trying the croco_pytools. Several versions of Python has been installed. Finally the task ended up with failure of a module named ‘toolsf’, specifically located in the prepo directory of croco_pytools. Some search over the web has already been done, and some link say that the package mentioned is an outdated one. Can anyone help me in the installation of this?

Hello,

Croco_pytools preprocessing part includes a Fortran component that must be compiled before use. The compilation procedure is described here:
https://croco-ocean.gitlabpages.inria.fr/croco_pytools/prepro/tuto.env.html

Please note that recent changes in dependencies may cause issues with your Python environment (see other topics : CROCO_PYTOOLS - update of pyinterp feb 2026 - #3 by slegac and Croco_pytools : f2py build broken since Feb 6 due to setuptools update – temporary workaround - #8).
To avoid these problems, it is recommended to create your environment while explicitly specifying the following dependencies:

dependencies:
  - setuptools<81.0
  - pyinterp<=2025.11.0

This should help ensure a smooth installation and compilation process.

Dear Slegac

Now the installation is completed perfectly. Initially there were problems due to the missing dependencies. As you suggested, setuptools<81.0 and pyinterp<=2025.11.0 were added in the yml file. The toolsf.*.so file is now there in the Modules folder.

Thank you.

1 Like