julia1.0不能正常add包吗

非常感谢,使用add https://github.com/JuliaPlots/Plots.jl#340cd0a1fe8bdddfb078e9fbd93d8cf4995cb134就可以了成功using了。不知道为啥add Plots后,using总是报错
不过plot出来的图好像不能编辑与保存啊
Last login: Fri Aug 10 19:13:19 on ttys005
Sams-MBP:~ sam$ exec '/Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia'
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.0 (2018-08-08)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(v1.0) pkg> add https://github.com/JuliaPlots/Plots.jl#340cd0a1fe8bdddfb078e9fbd93d8cf4995cb134
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Updating git-repo `https://github.com/JuliaPlots/Plots.jl`
 Resolving package versions...
  Updating `~/.julia/environments/v1.0/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v1.0/Manifest.toml`
 [no changes]
  Building Plots → `~/.julia/packages/Plots/8ptoM/deps/build.log`

julia> x = 1:10; y = rand(10,2);

julia> import Plots
[ Info: Recompiling stale cache file /Users/sam/.julia/compiled/v1.0/Plots/ld3vC.ji for Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]

julia> p = Plots.plot(x,y);

julia> Plots.savefig(p, "myplot.png")

julia> 

myplot

以下的代码可以不经过GUI直接输出PNG。我在docker里面生成的。

using Plots
ENV["GKSwstype"]="png"
x = 1:10
y = rand(10,2)
p = Plots.plot(x,y)
savefig(p, "PlotsDemo.png")

PlotsDemo

如果你们可以看到GitHub gist, 这是SVG版本。