I'm running a Jupyter Notebook to build a little ANN, but I'm having problems importing matplotlib. The code was:
import tensorflow as tf
import numpy as np
import pandas as pd
from sklearn.cross_validation import train_test_split
import matplotlib.pyplot as plt
Which gave me an error:
ValueError: unknown locale: UTF-8
on the import matplotlib line.
I googled and another question here told me I should add a couple of lines in my ~/.bash_profile, so I did, and then suddenly pandas started giving me an error:
AttributeError: module 'pandas' has no attribute 'core'
Removing those two lines from ~/.bash_profile did not help. Pandas was working fine before, but now it's not, and if I import matplotlib before pandas, I get my original error. I've tried uninstalling and reinstalling pandas to no avail.