Closed milankl closed 4 years ago
Oh I think this is essentially the same as #369
Probably something is missing from your PYTHONPATH or similar that is preventing pyimport("matplotlib")
from working in Julia.
if in the same REPL session I rebuild it
Also, make sure to reboot the julia REPL after you re-build anything depending on PyCall.
I've build PyPlot against python version 3.6.4 that I usually use, via
ENV["PYTHON"] = /home/...
This python has matplotlib 3.0.0 installed and it works fine. Although building doesn't throw an error, using PyPlot throwsif in the same REPL session I rebuild it, using PyPlot runs through only throwing the
warning. However, whenever I try to do something like, I get
Building PyCall with
ENV["PYTHON"] = ""
solves the problem, but I find it a bit redundant having two python environments that essentially fulfill the same purpose.