giotto-ai / giotto-tda

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

[BUG] Cannot call module 'gtda' #570

Closed glacey1 closed 3 years ago

glacey1 commented 3 years ago

Hi there,

I have just discovered Giotto TDA and am looking forward to getting stuck in. However, I am having a ModuleNotFoundError when I try to use the library.

I have tried both venv within PyCharm as well as my global interpreter in my laptop, but both come up with the error despite both being verified by using:

pip list

Interestingly enough, PyCharm recognises the module and autofills classes and the gtda when I am scripting, but despite being in the interpreter, I receive the same error.

I understand this is very likely on my end, but I have tried uninstalling and reinstalling python, gtda, creating new venv etc but have not seemed to make any progress. I was wondering if anyone else has had this issue and if so, what they did to resolve it.

ulupo commented 3 years ago

Hi! Sorry you are experiencing this issue. Did you install the library using conda or pip? The conda version is, I believe, broken at the moment.

bm-1961 commented 3 years ago

Hey, I have the same problem and cant load with either conda or pip?

bm-1961 commented 3 years ago

Sorry I made an error here (was entirely my mistake) and possibly where others are getting stuck - but need to have following to install rather than gtda: pip install -U giotto-tda --user

ulupo commented 3 years ago

Thanks @bm-1961. @glacey1 , could this be what happened to you too?

ulupo commented 3 years ago

Closing due to inactivity. Feel free to reopen if you the issue is still there and you can provide further information.