Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
fix nltk downloads in install (#5189)
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh authored May 7, 2021
1 parent b1b455a commit 96c3caf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ install :
# See https://github.com/pypa/pip/issues/4537.
python setup.py install_egg_info
pip install --upgrade --upgrade-strategy eager -e . -r dev-requirements.txt
# Docs are not built on docker, and the runner is unable to find
# the nltk_data folder. Hence, we download the requirement.
python -c 'import nltk; nltk.download("wordnet")'
# These nltk packages are used by the 'checklist' module.
python -c 'import nltk; [nltk.download(p) for p in ("wordnet", "wordnet_ic", "sentiwordnet")]'
#
# Documention helpers.
#
Expand Down

0 comments on commit 96c3caf

Please sign in to comment.