$ 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
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
To upgrade to the latest version (), run :
$ pip install -U textblob
To get the latest development version of TextBlob, run :
$ pip install -U git+https://github.com/sloria/TextBlob.git@dev
TextBlob supports Python >=2.6 or >=3.3.
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.