Skip to content

Latest commit

 

History

History
72 lines (41 loc) · 1.48 KB

install.rst

File metadata and controls

72 lines (41 loc) · 1.48 KB

Installation

From the PyPI

$ pip install -U textblob
$ curl https://raw.github.com/sloria/TextBlob/master/download_corpora.py | python

This will install textblob and download the necessary NLTK corpora.

If you don't have pip (you should), run this first: :

$ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python

From Source

TextBlob is actively developed on Github.

You can clone the public repo: :

git clone https://github.com/sloria/TextBlob.git

Or download one of the following:

Once you have the source, you can install it into your site-packages with :

$ python setup.py install

Upgrading

To upgrade to the latest version (), run :

$ pip install -U textblob

Get the bleeding edge version

To get the latest development version of TextBlob, run :

$ pip install -U git+https://github.com/sloria/TextBlob.git@dev

Python

TextBlob supports Python >=2.6 or >=3.3.

Dependencies

PyYAML is TextBlob's only external dependency. It will be installed automatically when you run pip install textblob or python setup.py install. A vendorized version of NLTK is bundled internally.