Skip to content

Issue to install Palom in linux #17

@basbees

Description

@basbees

It is not possible to install palom on an older enterprise Linux system (likely CentOS 7 or similar) because of a hard dependency on openslide-bin.

To Reproduce
On a system with glibc < 2.28 (e.g., CentOS 7):

  1. pip install palom fails because openslide-bin cannot be compiled and no compatible wheel is available. The error is ERROR: Problem encountered: No openslide-bin wheel is available for your platform. Install OpenSlide from source.
  2. A hybrid installation approach also fails. First, we install the OpenSlide C-library successfully with conda: conda create -n palom_env -c conda-forge python=3.10 openslide
  3. Then, activating the environment and running pip install palom fails with the exact same error, because palom specifically tries to reinstall openslide-bin from PyPI instead of using the already-present OpenSlide library.

Expected behavior
pip install palom should succeed in an environment where the OpenSlide C-library is already present (e.g., installed via Conda).

Suggestion
Could the hard dependency on the openslide-bin PyPI package be changed to openslide-python? openslide-python correctly detects existing system installations of the OpenSlide library, which would resolve this installation issue on common HPC platforms. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions