You want to use, run Pkg.build("P圜all"), and re-launch Julia. As explained in the P圜allĭocumentation, set ENV to the path/name of the python executable You can re-configure P圜all with that Python. System, such as a system-wide Python (as opposed to the Julia-specific Python), Package the contains the module matplotlib.pyplot, or alternatively you can use theĬonda package directly (via `using Conda` followed by `Conda.add` etcetera).Īlternatively, if you want to use a different Python distribution on your Use `pyimport_conda("matplotlib.pyplot", PKG)`, where PKG is the Anaconda
To install the matplotlib.pyplot module, you can P圜all is currently configured to use the Julia-specific Python distribution That you did not install matplotlib.pyplot in the Python version being used by P圜all. The Python package matplotlib.pyplot could not be found by pyimport. WARNING: No working GUI backend found for matplotlibĮRROR: InitError: PyError PyPtr, (Cstring,), name) Line for line in traceback.format_stack() The backend was *originally* set to u'Qt5Agg' by the following code:įile "/home/vish/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/backends/_init_.py", line 14, in
Or matplotlib.backends is imported for the first time. This call to e() has no effect because the backend has alreadyīeen chosen e() must be called *before* pylab, matplotlib.pyplot,
INFO: Recompiling stale cache file /home/vish/.julia/lib/v0.6/PyPlot.ji for module PyPlot. INFO: Recompiling stale cache file /home/vish/.julia/lib/v0.6/P圜all.ji for module P圜all. I have Pkg.add('PyPlot') to my installation, but it gives wierd error when I try to use PyPlot: julia> using PyPlot julia> versioninfo()ĬPU: Intel(R) Core(TM) i5-4570S CPU 2.90GHzīLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell) I have installed Julia 0.6.2 in my Ubuntu 16.04 and is using Conda for julia’s python distribution.