giotto-ai / giotto-tda

A high-performance topological machine learning toolbox in Python
https://giotto-ai.github.io/gtda-docs
Other
845 stars 173 forks source link

Prebuilt wheel for Python 3.11 #671

Open longyuxi opened 1 year ago

longyuxi commented 1 year ago

Is your feature request related to a problem? Please describe.

From #654 we know that it is possible to install giotto-tda without sudo, but only if there is a pre-built wheel. The latest Python version is 3.11 yet the pre-built wheels only go up to Python 3.10, which causes inconvenience as I have to reinstall my environment to roll down the Python version. This can be easily solved by releasing a version with Python 3.11 wheels.

Describe the solution you'd like

A release with pre-built wheels for Python 3.11.

Describe alternatives you've considered

Additional context

curieux commented 1 year ago

This remains a problem as of August 23.

alibayeh commented 11 months ago

@longyuxi @curieux

git clone https://github.com/alibayeh/giotto-tda.git
git submodule update --init --recursive
python3.11 setup.py install

Tested with python v3.11.5, gcc v13.2.1

Moreover, you should install pyflagser and giotto-ph from below:

https://github.com/alibayeh/pyflagser https://github.com/alibayeh/giotto-ph

longyuxi commented 11 months ago

@alibayeh Great fork! Works for Python 3.12 as well.

For my future self and everyone else's convenience, here are the commands for copy-and-paste to install everything:

mkdir gtda
cd gtda

git clone https://github.com/alibayeh/pyflagser
cd pyflagser
git submodule update --init --recursive
python setup.py install
cd ..

git clone https://github.com/alibayeh/giotto-ph
cd giotto-ph
git submodule update --init --recursive
python setup.py install
cd ..

git clone https://github.com/alibayeh/giotto-tda.git
cd giotto-tda
git submodule update --init --recursive
python setup.py install