At the command line:
$ pip install cognitive
Or, if you have virtualenvwrapper installed:
$ mkvirtualenv cognitive $ pip install cognitive