gensim error : no module named gensim gensim error : no module named gensim python python

gensim error : no module named gensim


Install gensim using:

pip install -U gensim

Or, if you have instead downloaded and unzipped the source tar.gz package, then run:

python setup.py testpython setup.py install


If using Python3 be sure to use pip3 instead of pip for installing gensim.


On Jupyter notebook, following worked for me

!python -m pip install -U gensim

Alternatively, run Anaconda prompt as administrator and execute the following

(base) C:\Windows\system32>conda install -c conda-forge gensim