Hello,
I am trying to use the aviso-lagrangian library and have been unable to install it on a modern Ubuntu server (using both venv and conda). After extensive troubleshooting, we've found several issues that prevent it from being installed.
Summary of Issues Encountered:
-
Building from Source Fails: The build scripts are incompatible with modern tools.
- The
CMakeLists.txt files (both in the root directory and in third_party/pybind11) require an old version of CMake and must be manually patched.
- The
setup.py script has faulty logic for detecting libraries (Boost, UDUNITS2, NetCDF) inside a Conda environment and must also be manually patched.
- Even after patching all of the above, a clean build using a Python 3.9 Conda environment produces a library that fails on import with:
ImportError: dynamic module does not define module export function (PyInit_core).
-
Pre-compiled Conda Package Fails: The package on the fbriol Conda channel requires Python 3.7. However, when trying to create an environment with it, it has an unsolvable dependency conflict with new packages (like conda-anaconda-tos and menuinst) that are included in modern Conda distributions.
It seems the library is not installable on a modern Linux system using any standard method. Could you please provide guidance or an updated Conda package?
Thank you for your work on this project.
Hello,
I am trying to use the
aviso-lagrangianlibrary and have been unable to install it on a modern Ubuntu server (using bothvenvandconda). After extensive troubleshooting, we've found several issues that prevent it from being installed.Summary of Issues Encountered:
Building from Source Fails: The build scripts are incompatible with modern tools.
CMakeLists.txtfiles (both in the root directory and inthird_party/pybind11) require an old version of CMake and must be manually patched.setup.pyscript has faulty logic for detecting libraries (Boost, UDUNITS2, NetCDF) inside a Conda environment and must also be manually patched.ImportError: dynamic module does not define module export function (PyInit_core).Pre-compiled Conda Package Fails: The package on the
fbriolConda channel requires Python 3.7. However, when trying to create an environment with it, it has an unsolvable dependency conflict with new packages (likeconda-anaconda-tosandmenuinst) that are included in modern Conda distributions.It seems the library is not installable on a modern Linux system using any standard method. Could you please provide guidance or an updated Conda package?
Thank you for your work on this project.