#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''Downloads the necessary NLTK models and corpora.'''
from nltk import download

REQUIRED_CORPORA = [
    'brown',
    'punkt',
    'conll2000',
    'maxent_treebank_pos_tagger',
]

def main():
    for each in REQUIRED_CORPORA:
        print(('Downloading "{0}"'.format(each)))
        download(each)
    print("Finished.")

if __name__ == '__main__':
    main()

#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''Downloads the necessary NLTK models and corpora.'''
from text.packages import nltk

REQUIRED_CORPORA = [
    'brown',
    'punkt',
    'conll2000',
    'maxent_treebank_pos_tagger',
]

def main():
    for each in REQUIRED_CORPORA:
        print(('Downloading "{0}"'.format(each)))
        nltk.download(each)
    print("Finished.")

if __name__ == '__main__':
    main()

Update download script