Closed davidanthoff closed 6 years ago
After some further disucssions on slack, it seems quite widely known that the current latest released version of PyPlot v2.3.2 simply doesn't work on Windows and that one needs to pin to v2.3.1 to get a working version. Maybe there could be a bug fix release v2.3.3 that simply undoes whatever was introduced in v2.3.2?
Although, looking at the diff between v2.3.1 and v2.3.2 it seems unlikely that those changes would explain the error... I wish I had just restarted julia when v2.3.2 was still installed and tried to load it again...
Here is how I continued from the log above: I exited julia, then started it again, pinned PyCall to v2.3.1. Then I was able to load it. I then restarted julia again, then freed PyCall so it went back to v2.3.2 and now I can lead that version just fine as well.
So maybe this is something where things just don't work at the first attempt to load the package, but subsequent attempts might work. Can't reproduce that anymore now, but that seems a possible explanation.
I just ran into this today. See my explanation here.
The issue is that, apparently because of a library conflict, Anaconda no longer installs mplot3d
with matplotlib
. A workaround is to do Conda.add("basemap")
, which will downgrade numpy in order to install mplot3d
. But I'm planning to patch PyPlot shortly so that it works (albeit without 3d plots) if mplot3d is not present.
Ah, thanks. Agreed on the plan, that seems like a good short term patch.
Do we have to adjust the Plots pyplot backend now (e.g. here https://github.com/JuliaPlots/Plots.jl/blob/master/src/backends/pyplot.jl#L86)?
@daschw, yes, it would be good to fix Plots as well.
It doesn't look like you use your mplot3d
constant at all, so you can just delete that. And you can just replace your pyart3d
constant with PyPlot.art3D
(this works even on previous PyPlot versions, so no need to bump your dependencies).
Great, thanks for the info!
I have an essentially new Windows 10 system. Tried to install things with
Pkg.add("PyCall")
, and then just dousing PyPlot
, and get this error message: