Closed Kunz-David closed 4 years ago
Seems to be similar to #251, which was a conflict between the Conda and MacOS libpng
libraries due to a broken qt5 backend. What is your PyPlot.backend
?
PyPlot.backend
does this:
julia> PyPlot.backend
"Qt5Agg"
I can't reproduce your problem. I'm on MacOS 10.14.6 and I'm using Python 3.7.4 installed by Conda.jl with the Qt5Agg backend.
Maybe try
using Conda
Conda.update()
to make sure your Anaconda installation is up to date? (You may need to add Conda
at the pkg>
prompt first.)
Sorry for not coming back to this strait away, but I solved the problems without figuring out what the problem was.
A simple using Conda; Conda.update()
didn't help, so I ended up reinstalling everything (julia, and all the modules) which made it work.
Thanks for the help!
I just came across this same issue with Julia 1.6.1, macOS 11.4, PyPlot v2.9.0, PyCall v1.92.3, Conda v1.5.2, PyPlot.backend = "Agg".
PyPlot.jl was working fine, then I added PyCall to my project and now it's broken. Not sure what exactly caused the breakage but that's the only relevant info I can think of.
Could we reopen? I really can't figure out a way around this
Deleting ~/.julia/conda
, running ] build PyCall PyPlot Conda
seems to make it work. Based on the logs, Conda reinstalls everything and somehow that fixes it.
Hello,
I was using PyPlot a while ago, but now when I came back to it now a get an error when running
gcf()
:Does anyone have a clue whats happening? I tried to install
Conda.jl
and ranConda.update()
which I thought would update the packages (as they recommend here), but it didn't help.If it's any help I am on a mac an these are my versions: