I am trying to install the module aplpy via pip install aplpy
, but I keep getting an error message (see here). It looks like there is some kind of conflict with Anaconda; do you have any suggestion on how to fix this?
1 Answer
You need to set the locale of your terminal
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
-
Is there a way to do this every time I open a new terminal?– randomalCommented Mar 20, 2014 at 15:59
-
1Yes, of course. Add these lines to your ~/.bash_profile if you are using mac or ~/.bashrc on linux.– ForgeCommented Mar 20, 2014 at 16:00
-
@IritMalka Which of those to use is a bit more complex than Mac vs Linux. If you might not always use Bash,
$HOME/.profile
is better, but it requires slightly different syntax.– tripleeeCommented Mar 20, 2014 at 17:24