You are viewing a single comment's thread from:

RE: [Python Tips] Virtual Environments

in #programming7 years ago

I ran into this isssue when I ran: $pipenv install -r requirements.txt: "Unkown locale: UTF-8" and I solved it with this:
https://stackoverflow.com/questions/38916461/valueerror-unknown-locale-utf-8-when-importing-pandas-in-python-2-7
I added this to ~/.bash_profile:

export=LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

and did:

$ source ~/.bash_profile

and then this worked:

$ pipenv install -r requirements.txt