Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPlot fails to precompile. #439

Closed
Vahidmhn opened this issue Apr 30, 2019 · 1 comment
Closed

PyPlot fails to precompile. #439

Vahidmhn opened this issue Apr 30, 2019 · 1 comment

Comments

@Vahidmhn
Copy link

Vahidmhn commented Apr 30, 2019

I had PyPlot and it was working very well unless that it was old and updated features were not working. So I updated both matplotlib and PyPlot by removing and installing them again. But I could not precompile PyPlot anymore. First it gave this Error: malformed expression. I run Pkg.checkout("PyCall") and not I got new errror:

LoadError: LoadError: LoadError: �[91mArgumentError: Module Libdl not found in current path.
Run Pkg.add("Libdl") to install the Libdl package.�[39m
while loading /home/myubuntu/.julia/v0.6/PyCall/src/../deps/depsutils.jl, in expression starting on line 3
while loading /home/myubuntu/.julia/v0.6/PyCall/src/PyCall.jl, in expression starting on line 40
while loading /home/myubuntu/.julia/v0.6/PyPlot/src/PyPlot.jl, in expression starting on line 4
_require(::Symbol) at loading.jl:428
require(::Symbol) at loading.jl:398
include_from_node1(::String) at loading.jl:569
include(::String) at sysimg.jl:14
include_from_node1(::String) at loading.jl:569
eval(::Module, ::Any) at boot.jl:235
_require(::Symbol) at loading.jl:483
require(::Symbol) at loading.jl:398
include_from_node1(::String) at loading.jl:569
eval(::Module, ::Any) at boot.jl:235
_require(::Symbol) at loading.jl:483
require(::Symbol) at loading.jl:398
include_string(::String, ::String) at loading.jl:515
eval(::Module, ::Any) at boot.jl:235
(::Atom.##119#122)() at eval.jl:148
withpath(::Atom.##119#122, ::Void) at utils.jl:30
withpath(::Function, ::Void) at eval.jl:38
macro expansion at eval.jl:147 [inlined]
(::Atom.##118#121{Dict{String,Any}})() at task.jl:80

@tkf
Copy link
Member

tkf commented May 1, 2019

It seems you are using Julia 0.6. The master branches of PyCall and PyPlot do not support Julia 0.6 anymore. You need to install the released version of them; i.e., use Pkg.add not Pkg.checkout.

@stevengj stevengj closed this as completed May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants