After spending a long time, it was really bad, I figured out that the problem was to import either numpy or matplotlib. If I just import one of them the site broke.
If I import numpy or matplotlib in your console it works well.
I really don't know how to figure this problem out. I need to use numpy and matplotlib.