Skip to content

Commit

Permalink
set locale in buildscript to avoid spacy errors in python 3.6 (pytorc…
Browse files Browse the repository at this point in the history
…h#1344)

Co-authored-by: Brian Johnson <brianjo@fb.com>
  • Loading branch information
Randall Hunt and brianjo committed Feb 9, 2021
1 parent a42fb20 commit 347ce5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .jenkins/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ else
export BUCKET_NAME=pytorch-tutorial-build-pull-request
fi

# set locale for click dependency in spacy
export LC_ALL=C.UTF-8
export LANG=C.UTF-8

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"

sudo apt-get update
Expand Down

0 comments on commit 347ce5c

Please sign in to comment.