You are missing matplotlib library, try:
apt-get install python-matplotlib
In REPL:
Pkg.build(PyPlot")
Kaj
On Tuesday, April 26, 2016 at 10:59:01 AM UTC+3, Henri Girard wrote:
>
> Here is the kind of error I got :
>
> INFO: Recompiling stale cache file /home/pi/.julia/lib/v0.4/PyCall.ji for
> module PyCall.
> INFO: Recompiling stale cache file /home/pi/.julia/lib/v0.4/PyPlot.ji for
> module PyPlot.
>
> 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[5], in expression starting on line 1
>
>
>
>
>
> Le mardi 26 avril 2016 08:23:57 UTC+2, Henri Girard a écrit :
>>
>> Hi,
>> It's really a pain to make julia (ijulia) works on native ubuntu 16.04. I
>> tried conda env but after adding modules in julia I got a lot of errors
>> specially with pycall pyplots ans scipy.
>> Can you advice me to have a good stable working julia (ijulia) on ubuntu,
>> even if I must use conda doesn't matter. I am on this since few days and
>> it's getting worse !
>> I even format my disk to make a fresh install... But I think it's worse
>> ...
>> Best regards,
>> Henri
>>
>