Wednesday, October 28, 2015

Install Gensim on UBUNTU 14.04

Gensim is python library for topic modeling.


Installation

1. Check dependencies Python(>=2.6) & NumPy(>=1.3) & SciPy(>=0.7)

2. Install SciPy & NumPy
$ sudo apt-get install python-numpy
$ sudo apt-get install python-scipy

3. Download and unzip ~.tar.gz.source file
https://pypi.python.org/pypi/gensim
$ python setup.py install

4. Open ~/.bashrc by text editor and insert PATH
export PATH=$PATH:\
/home/..../Desktop/TopicModeling/Gensim



Testing

1. Go to ~/GENSIMHOME and run
$ python setup.py test
more examples:
https://radimrehurek.com/gensim/tutorial.html




Ref:
https://radimrehurek.com/gensim/install.html

2 comments: