I'm using IJulia and  command line version of Julia 0-4-4. 

  When using PyPlot in IJulia, it fails and shows the following:

LoadError: InitError: Failed to pyimport("matplotlib"): PyPlot will not work 
until you have a functioning matplotlib module.

For automated Matplotlib installation, try configuring PyCall to use the Conda 
Python distribution within Julia.  Relaunch Julia and run:
      ENV["PYTHON"]=""
      Pkg.build("PyCall")
      using PyPlot

pyimport exception was: PyError (:PyImport_ImportModule) <type 
'exceptions.ImportError'>
ImportError('No module named matplotlib',)

during initialization of module PyPlot
while loading In[10], in expression starting on line 2

 in __init__ at /Users/yxshang/.julia/v0.4/PyPlot/src/PyPlot.jl:229
 in _require_from_serialized at loading.jl:84
 in _require_from_serialized at 
/Applications/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib 

in require at 
/Applications/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib, 
 

 The package is downloaded and can be find in terminal. But it can't be 
used.
 
 And some other package you clone form github also can't be load and often 
shows, for example:

LoadError: error compiling anonymous: error compiling call: could not load 
library "/Users/yxshang/.julia/v0.4/Toms566/src/lib566"


 Is it because i didn't set the proper path to the package? Then how to fix it?

Reply via email to