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

Error Importing SingleTakensEmbedding from gtda.time_series #510

Closed Leboea closed 3 years ago

Leboea commented 3 years ago

Hi I am using gtda for my project that is due on Tuesday 06/02/2020. I am on Python version 3.7.6 and everything is working well except I get the error importing SingleTakensEmbedding from gtda.time_series . The error that I get is: _ImportError: cannot import name 'SingleTakensEmbedding' from 'gtda.time_series' (C:\Users\leboea.polinyane\Anaconda3\lib\site-packages\gtda\timeseries__init__.py) Please help on how I can solve this as soon as possible.

ulupo commented 3 years ago

Hi @Leboea! We're honoured that you are using the library for a project. The issue is that SingleTakensEmbedding is not in giotto-tda v0.2.2 (latest stable from PyPI). You can have it by pip-installing giotto-tda-nightly instead of giotto-tda (please avoid installing both in the same environment!). giotto-tda v0.3.0 is coming in just a couple of days and will include SingleTakensEmbedding along with a large number of new features and improvements.

Leboea commented 3 years ago

Hi @ulupo, thank you so much for your speedy response. Tell me, will all other packages still work if I uninstall giotto-tda and keep giotto-tda-nightly? Because I know I have them both installed on my anaconda.

Leboea commented 3 years ago

Also, how to I call modules on the giotto-tda-nightly...when I put gtda.time_series it says gtda is not available.

ulupo commented 3 years ago

Glad this was fixed for you (offline)!