I have been tortured by errors out of import pandas as pd
for a long time. The major types I have dealt with are the following:
Error type 1:
ImportError
Error type 2:
ValueError: unknown locale: UTF-8
I have been tortured by errors out of import pandas as pd
for a long time. The major types I have dealt with are the following:
Error type 1:
ImportError
Error type 2:
ValueError: unknown locale: UTF-8
For Error Type 1:
I have no idea the cause of the problems, but I figured out a way to solve them.
The major solution is here
For Error type 2:
I encountered this error after I install matplotlib package into the trypandas environment. Once I removed matplotlib, everything goes back to normal.
I could not make this error go away while installing matplotlib. I installed bokeh instead of matplotlib, and there is no problem.