Closed zdlspace0528 closed 2 years ago
julia> versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.5.0)
CPU: Apple M1
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, westmere)
(@v1.7) pkg> status PyPlot
Status `~/.julia/environments/v1.7/Project.toml`
[d330b81b] PyPlot v2.10.0
(@v1.7) pkg> status PyCall
Status `~/.julia/environments/v1.7/Project.toml`
[438e738f] PyCall v1.93.1
(@v1.7) pkg> status Conda
Status `~/.julia/environments/v1.7/Project.toml`
[8f4d0f93] Conda v1.7.0
See
https://discourse.julialang.org/t/question-about-pyplot/81738/8?u=stevengj
You need to use a Python that has Matplotlib installed. Most simply, let Julia install its own Python (which happens by default, so you must have explicitly overridden this behavior by setting the PYTHON environment variable).