python – gensim error : no module named gensim

python – gensim error : no module named gensim

Install gensim using:

n

pip install -U gensimn

n

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

n

python setup.py testnpython setup.py installn

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

python – gensim error : no module named gensim

On Jupyter notebook, following worked for me

n

!python -m pip install -U gensimn

n

Alternatively, run Anaconda prompt as administrator and execute the following

n

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

Leave a Reply

Your email address will not be published.