Unable to install genism on google colab

Question:

I’m trying to insall genism on google colab instance using the following command:

!pip install genism

But I’m getting an error:

Could not find a version that satisfies the requirement genism (from versions: )
No matching distribution found for genism

Answers:

Are you looking for

!pip install gensim

?

(note spelling of “gensim” in my answer vs the spelling of “genism” in your question)

Answered By: Ami F

I am getting a value error after installing gensim:[when i try to call a function]

ValueError Traceback (most recent call last)
in
—-> 1 from gensim.test.utils import common_texts

5 frames
/usr/local/lib/python3.8/dist-packages/gensim/_matutils.pyx in init gensim._matutils()

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Answered By: sujoy