graspologic-org / graspologic

Python package for graph statistics
https://graspologic-org.github.io/graspologic/
MIT License
650 stars 134 forks source link

[BUG] giant gensim error when trying to pip install on 3.10.6 #998

Closed loftusa closed 1 year ago

loftusa commented 1 year ago

pip install graspologic

Results in a giant error having to do with the gensim requirement. I'm using a fresh-ish ubuntu environment with python 3.10.6

I'd copy the whole error, but it's like 10 years long and all having to do with weird unicode stuff. Is gensim a real requirement?

gensim_error

bdpedigo commented 1 year ago

gensim is a real requirement of node2vec

have you tried just installing gensim?

i have no idea how to debug from the above - i wonder whether something is being compiled rather than installed from a whl on your platform?

bdpedigo commented 1 year ago

here are (perhaps) some explanations of the error you're getting from a quick search in gensim (although this is about Python 3.11):

https://github.com/RaRe-Technologies/gensim/issues/3401

https://github.com/RaRe-Technologies/gensim/issues/3414

from what I can tell they think they've fixed it but haven't released. could you try seeing if setting gensim != 4.2.0 works? or the numpy/scipy stuff in the second issue?