Open ghost opened 11 years ago
Anyone please help?
I was able to narrow down where the problem is coming from. I removed almost every Python package I had installed and reinstalled matplotlib
(using pip
) afterwards. This was fruitful as PyPlot worked after doing that. From that point I reinstalled my other Python packages (using pip
) and kept on testing whether PyPlot would load normally and it did until I installed numpy
using sudo pip install --upgrade numpy
. PyPlot immediately stopped to load correctly after installing numpy
and it immediately started to work again after removing numpy
with sudo pip uninstall numpy
. So maybe PyPlot is not playing too friendly with the newest version of numpy
(1.7.1).
Could be a PyCall bug, since PyCall uses NumPy directly; maybe it doesn't work with the latest NumPy? But what confuses me is that the error occurs while importing matplotlib.
Does importing matplotlib work in Python with the latest numpy on your system? Realize that matplotlib itself uses numpy, and you may have a version of matplotlib compiled only to work with the older numpy.
Well I removed the newest version because of PyPlot, but after reinstalling numpy 1.7.1
to confirm it appears that matplotlib does work, both in the python and ipython interpreter.
Although I am able to install
PyPlot
, I get an error message when importing it into a Julia session:How can I get
PyPlot
up and running?I am running:
python 2.7.3
matplotlib 1.3.0