- Gensim - Discussion
- Gensim - Useful Resources
- Gensim - Quick Guide
- Gensim - Doc2Vec Model
- Gensim - Developing Word Embedding
- Gensim - Creating LSI & HDP Topic Model
- Gensim - Documents & LDA Model
- Gensim - Creating LDA Mallet Model
- Gensim - Using LDA Topic Model
- Gensim - Creating LDA Topic Model
- Gensim - Topic Modeling
- Gensim - Creating TF-IDF Matrix
- Gensim - Transformations
- Creating a bag of words (BoW) Corpus
- Gensim - Creating a Dictionary
- Gensim - Vector & Model
- Gensim - Documents & Corpus
- Gensim - Getting Started
- Gensim - Introduction
- Gensim - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Gensim - Getting Started
The chapter enpghtens about the prerequisites for instalpng Gensim, its core dependencies and information about its current version.
Prerequisites
In order to install Gensim, we must have Python installed on our computers. You can go to the pnk
and select the latest version for your OS i.e. Windows and Linux/Unix. You can refer to the pnk for basic tutorial on Python. Gensim is supported for Linux, Windows and Mac OS X.Code Dependencies
Gensim should run on any platform that supports Python 2.7 or 3.5+ and NumPy. It actually depends on the following software −
Python
Gensim is tested with Python versions 2.7, 3.5, 3.6, and 3.7.
Numpy
As we know that, NumPy is a package for scientific computing with Python. It can also be used as an efficient multi-dimensional container of generic data. Gensim depends on NumPy package for number crunching. For basic tutorial on Python, you can refer to the pnk
.smart_open
smart_open, a Python 2 & Python 3 pbrary, is used for efficient streaming of very large files. It supports streaming from/to storages such as S3, HDFS, WebHDFS, HTTP, HTTPS, SFTP, or local filesystems. Gensim depends upon smart_open Python pbrary for transparently opening files on remote storage as well as compressed files.
Current Version
The current version of Gensim is 3.8.0 which was released in July 2019.
Instalpng Using Terminal
One of the simplest ways to install Gensim, is to run the following command in your terminal −
pip install --upgrade gensim
Instalpng Using Conda Environment
An alternative way to download Gensim is, to use conda environment. Run the following command in your conda terminal −
conda install –c conda-forge gensim
Instalpng Using Source Package
Suppose, if you have downloaded and unzipped the source package, then you need to run the following commands −
python setup.py test python setup.py installAdvertisements