Errors in installation of matplotlib and pandas on Macbook

Chris Angelico rosuav at
Thu Jun 30 02:02:18 EDT 2016

On Thu, Jun 30, 2016 at 3:54 PM, Madhavan Bomidi <blmadhavan at> wrote:
> Thanks for your suggestion. My script works fine when I run the command 'export LC_ALL=en_AU.utf8' before starting python.
> I am from India and using US English and international keyboard. I also tried using the command 'export LC_ALL=en_USA.utf8' and the python script works fine. How can I avoid running this command everytime when I want to start Python?
> Can I add the following two lines to .bash_profile?
> export LC_CTYPE=en_US.utf8
> export LC_ALL=en_US.utf8

That would possibly work, but more likely, there'll be some way in
your Mac's configuration/settings menus to set your locale. If you get
that set correctly, you should be able to leave those lines out of
your .bash_profile and still have everything work.


More information about the Python-list mailing list