Skip to content
Advertisement

Getting error while trying to run this command ” pipenv install requests ” in mac OS

I am facing the following error:

JavaScript

Virtualenv location:

JavaScript

I tried setting the LANG in ~/.profile and ~/.bash_profile. Both didn’t work.

Advertisement

Answer

What worked for me on Mac OS X Sierra is adding the following into my ~/.bash_profile file:

JavaScript

Then I reloaded the bash profile with: source ~/.bash_profile

For those who use zsh shell, you must add those lines to your ~/.zshrc

JavaScript

Then I reload the bash profile with: source ~/.zshrc

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement