JuliaPy / PyPlot.jl

Plotting for Julia based on matplotlib.pyplot
https://github.com/JuliaPy/PyPlot.jl
MIT License
475 stars 87 forks source link

pyplot() won't compile with fedora 32 #484

Closed AndrewLyasoff closed 4 years ago

AndrewLyasoff commented 4 years ago

After upgrade from Fedora 31 to Fedora 32, PyPlot.jl no longer works in either Julia 1.4.0 or Julia 1.4.1. The error message reads:

[ Info: Precompiling PyPlot [d330b81b-6aea-500a-939a-2ce795aea3ee] ERROR: LoadError: InitError: could not load library "/usr/lib64/libpython3.7m.so.1.0" /usr/lib64/libpython3.7m.so.1.0: cannot open shared object file: No such file or directory Stacktrace: ...

Simply placing libpython3.7m.so.1.0 in /usr/lib64 does not resolve the problem. This may be related to the fact that Fedora 32 comes with python 3.8.

AndrewLyasoff commented 4 years ago

Completely removing .julia solves the issue.

stevengj commented 4 years ago

Probably you just needed to re-run build PyCall, to update its configuration to use your new Python version.

AndrewLyasoff commented 4 years ago

Thank you very much for your response. Yes, this is what I did, but it was a situation I have not encountered before. In addition, the old .julia is still to be removed, together with .cache/matplotlib.

Thank you again, Andrew

On Sat, May 2, 2020, 08:36 Steven G. Johnson notifications@github.com wrote:

Probably you just needed to re-run build PyCall, to update its configuration to use your new Python version.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/JuliaPy/PyPlot.jl/issues/484#issuecomment-622971864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5FJA53KHRALYBWKPXZUKTRPQ4WDANCNFSM4MW32BYA .