poke1024/origami

scikit-geometry is only available through conda-forge

diegosiqueir4 opened this issue · 4 comments

I tried to install all requirements using the following pip commands (as recommended in #9):

pip install -v -r requirements/pip.txt 
pip install -v -r requirements/conda.txt 

However, the scikit-geometry package could not be found:

ERROR: Could not find a version that satisfies the requirement scikit-geometry (from versions: none)
ERROR: No matching distribution found for scikit-geometry

According to this issue it's not yet possible to install scikit-geometry from pypi. The package is only available through conda-forge.

Thought it might be useful to share this information with you.

That particular tail is devilishly long:

If you want to build scikit-geometry from source, you need a system library called libcgal-dev – but at least version 5 IIUC.

However, installing CGAL from source does not work either, unless you have cmake>=3.11.

If you still manage, compilation of skgeom will take 4 GB RSS and ages to finish.

EDIT: Forgot to mention that the package name in requirements/conda.txt is therefore inconsistent with the setup name.

@bertsky I really should trash requirements/* in favor of one central conda-based environment.yml, which then relies on https://anaconda.org/conda-forge/scikit-geometry for scikit.

I really should trash requirements/* in favor of one central conda-based environment.yml, which then relies on https://anaconda.org/conda-forge/scikit-geometry for scikit.

Please don't remove these lists without some other mechanism for pip – it's the only way to get a non-conda deployment. (I am in the middle of building an OCR-D wrapper for Origami and would like to get it into ocrd_all, where conda is more or less ruled out.)

Please don't remove these lists without some other mechanism for pip – it's the only way to get a non-conda deployment. (I am in the middle of building an OCR-D wrapper for Origami and would like to get it into ocrd_all, where conda is more or less ruled out.)

ok, I see.