Open oabawon opened 3 days ago
Dear @oabawon ,
It seems that you are trying to build the giotto-tda wheels rather than pip installing the pre-compiled version.
My suggestion is to use one of these wheel files that have already been pre-compiled for different operative systems. You can find them here: https://pypi.org/project/giotto-tda/#files
You should find and download the file most appropriate for your environment (it depends on the python version and whether you are on win, macos or linux.).
For example this file
giotto_tda-0.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
is to be selected in case you are using python 3.11 on a linux distro.
In theory, if you do something like pip install giotto-tda --force-reinstall
, it should automatically get the right file for you. If not, you can try to force your system to install the wheel directly: place the file if the cwd and simply run pip install <name_of_the_file.whl>
.
If it does not works, please let us know the python version you are using and the operative system as well.
Good luck!
I obtained the following error when I tried installing giotto-tda as described in documentation for linux computer(python -m pip install -U giotto-tda), any help on how to fix this issue will be greatly appreciated. Thank you.
Collecting giotto-tda Using cached giotto-tda-0.1.4.tar.gz (99 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: numpy>=1.17.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from giotto-tda) (2.1.2) Requirement already satisfied: scipy>=0.17.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from giotto-tda) (1.14.1) Requirement already satisfied: joblib>=0.11 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from giotto-tda) (1.4.2) Requirement already satisfied: scikit-learn>=0.22.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from giotto-tda) (1.5.2) Collecting matplotlib>=3.0.3 (from giotto-tda) Using cached matplotlib-3.9.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB) Requirement already satisfied: plotly>=4.4.1 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from giotto-tda) (5.24.1) Requirement already satisfied: ipywidgets>=7.5.1 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from giotto-tda) (8.1.5) Requirement already satisfied: python-igraph in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from giotto-tda) (0.11.8) Requirement already satisfied: comm>=0.1.3 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipywidgets>=7.5.1->giotto-tda) (0.2.2) Requirement already satisfied: ipython>=6.1.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipywidgets>=7.5.1->giotto-tda) (8.28.0) Requirement already satisfied: traitlets>=4.3.1 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipywidgets>=7.5.1->giotto-tda) (5.14.3) Requirement already satisfied: widgetsnbextension~=4.0.12 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipywidgets>=7.5.1->giotto-tda) (4.0.13) Requirement already satisfied: jupyterlab-widgets~=3.0.12 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipywidgets>=7.5.1->giotto-tda) (3.0.13) Collecting contourpy>=1.0.1 (from matplotlib>=3.0.3->giotto-tda) Using cached contourpy-1.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.4 kB) Collecting cycler>=0.10 (from matplotlib>=3.0.3->giotto-tda) Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB) Collecting fonttools>=4.22.0 (from matplotlib>=3.0.3->giotto-tda) Using cached fonttools-4.54.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (163 kB) Collecting kiwisolver>=1.3.1 (from matplotlib>=3.0.3->giotto-tda) Using cached kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.3 kB) Requirement already satisfied: packaging>=20.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from matplotlib>=3.0.3->giotto-tda) (24.1) Collecting pillow>=8 (from matplotlib>=3.0.3->giotto-tda) Using cached pillow-11.0.0-cp313-cp313-manylinux_2_28_x86_64.whl.metadata (9.1 kB) Collecting pyparsing>=2.3.1 (from matplotlib>=3.0.3->giotto-tda) Using cached pyparsing-3.2.0-py3-none-any.whl.metadata (5.0 kB) Requirement already satisfied: python-dateutil>=2.7 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from matplotlib>=3.0.3->giotto-tda) (2.9.0) Requirement already satisfied: tenacity>=6.2.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from plotly>=4.4.1->giotto-tda) (9.0.0) Requirement already satisfied: threadpoolctl>=3.1.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from scikit-learn>=0.22.0->giotto-tda) (3.5.0) Requirement already satisfied: igraph==0.11.8 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from python-igraph->giotto-tda) (0.11.8) Requirement already satisfied: texttable>=1.6.2 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from igraph==0.11.8->python-igraph->giotto-tda) (1.7.0) Requirement already satisfied: decorator in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (5.1.1) Requirement already satisfied: jedi>=0.16 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (0.19.1) Requirement already satisfied: matplotlib-inline in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (0.1.7) Requirement already satisfied: prompt-toolkit<3.1.0,>=3.0.41 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (3.0.48) Requirement already satisfied: pygments>=2.4.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (2.18.0) Requirement already satisfied: stack-data in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (0.6.2) Requirement already satisfied: pexpect>4.3 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (4.9.0) Requirement already satisfied: six>=1.5 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from python-dateutil>=2.7->matplotlib>=3.0.3->giotto-tda) (1.16.0) Requirement already satisfied: parso<0.9.0,>=0.8.3 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from jedi>=0.16->ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (0.8.4) Requirement already satisfied: ptyprocess>=0.5 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from pexpect>4.3->ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (0.7.0) Requirement already satisfied: wcwidth in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from prompt-toolkit<3.1.0,>=3.0.41->ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (0.2.13) Requirement already satisfied: executing>=1.2.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from stack-data->ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (2.1.0) Requirement already satisfied: asttokens>=2.1.0 in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from stack-data->ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (2.4.1) Requirement already satisfied: pure-eval in /home/olakunle/anaconda3/envs/new_env/lib/python3.13/site-packages (from stack-data->ipython>=6.1.0->ipywidgets>=7.5.1->giotto-tda) (0.2.3) Using cached matplotlib-3.9.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB) Using cached contourpy-1.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (319 kB) Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB) Using cached fonttools-4.54.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB) Using cached kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB) Using cached pillow-11.0.0-cp313-cp313-manylinux_2_28_x86_64.whl (4.4 MB) Using cached pyparsing-3.2.0-py3-none-any.whl (106 kB) Building wheels for collected packages: giotto-tda Building wheel for giotto-tda (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for giotto-tda (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [286 lines of output] /tmp/pip-build-env-8cg72kel/overlay/lib/python3.13/site-packages/setuptools/dist.py:495: SetuptoolsDeprecationWarning: Invalid dash-separated options !!
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for giotto-tda Failed to build giotto-tda ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (giotto-tda)