Closed n-otter closed 2 years ago
Hi @n-otter! I'm honoured to see you here :)
If you are on a Mac with Apple Silicon, this is simply because as of right now there are still no available wheels on PyPI for these systems. We are (as we speak) working on shipping them! In fact, we need to first release wheels for the giotto-ph
and pyflagser
projects as they are dependencies of giotto-tda
. giotto-ph
is essentially done, though not yet on PyPI -- you can find the compiled wheels at the bottom of https://github.com/giotto-ai/giotto-ph/actions/runs/2857044679 for the time being.
For now, your pip
is trying to fall back to a tarball installation that is doomed to fail, see https://github.com/giotto-ai/giotto-tda/issues/308. Instead, for now, I would recommend doing the following things:
giotto-tda
installation from sources, see https://giotto-ai.github.io/gtda-docs/0.5.1/installation.html#developer-installation (don't try to install giotto-tda yet at this point).giotto-ph
either from sources (python -m pip install -e .
from the root of a clone of the repo) or from the compiled wheels linked above.pyflagser
from sources.giotto-tda
from sources.For the record, I am developing the library on a system with Apple Silicon these days, so am able to confirm that it works there.
Linking to https://github.com/giotto-ai/giotto-tda/issues/617 just for book-keeping.
Thanks for much for the quick response! It worked like a charm.
Thanks @n-otter! Btw, the Apple Silicon wheels for giotto-ph
are now on PyPI. pyflagser
soon to follow. But if you installed both from sources in the last couple of days, you're possibly even better off in terms of performance.
Cannot install Giotto with pip
I am trying to install Giotto on a MAC OS 12.5, with pip 22.2.2, and Cmake 3.24.0, but there seems to be issues with building wheels, as well as with CMake. Running the following in the terminal
pip3 install Giotto-learn
gives the following error message: