I think you have an outdated package. Color.jl is deprecated in favor of Colors.jl. Try Pkg.update()
On Friday, March 11, 2016, Xavier Gandibleux < [email protected]> wrote: > Dear all, > > I encounter a problem only under ubuntu (it is fine under OSX) with PyPlot. > I extracted some commands hereafter to reproduce the error. > > nb: > 1) the Python Matplotlib library is installed and works fine (tested). > 2) Pkg.add("PyPlot") is imported and ready (as reported hereafter). > > When I invoque "using PyPlot", the error occurs (and after real numbers > are not anymore recognized). > An example follows below. > > Thanks in advance for any suggestions. > Xavier > > > xavierg@xavierg-HP-ZBook-17-G2:~/Bureau/Solveurs/Julia$ julia > _ > _ _ _(_)_ | A fresh approach to technical computing > (_) | (_) (_) | Documentation: http://docs.julialang.org > _ _ _| |_ __ _ | Type "help()" to list help topics > | | | | | | |/ _` | | > | | |_| | | | (_| | | Version 0.2.1 (2014-02-11 06:30 UTC) > _/ |\__'_|_|_|\__'_| | > |__/ | x86_64-linux-gnu > > julia> W = 1.15 > 1.15 > > julia> Pkg.add("PyPlot") > INFO: Nothing to be done. > > julia> W = 1.15 > 1.15 > > julia> using PyPlot > Loading help data... > ERROR: syntax: invalid numeric constant 1.0 > in include at boot.jl:238 > at /home/xavierg/.julia/v0.2/Color/src/colorspaces.jl:14 > at /home/xavierg/.julia/v0.2/Color/src/Color.jl:25 > at /home/xavierg/.julia/v0.2/PyPlot/src/colormaps.jl:4 > at /home/xavierg/.julia/v0.2/PyPlot/src/PyPlot.jl:337 > > julia> W = 1.15 > ERROR: syntax: invalid numeric constant 1.15 > > julia> >
