JuliaPlots / Plots.jl

Powerful convenience for Julia visualizations and data analysis
https://docs.juliaplots.org
Other
1.84k stars 355 forks source link

Package installs sucefully but julia doesn't recognize it #1552

Closed carl-gauss closed 6 years ago

carl-gauss commented 6 years ago

I have a fresh julia install (version 0.7.0-alpha.0 (2018-05-31 00:07 UTC)), and I'm trying to use Plots, executed Pkg.add("Plots"), and it showed me the following response

WARNING: Base.Pkg is deprecated, run using Pkg instead in module Main Updating registry at C:\Users\[USERNAME]\.julia\registries\Uncurated Updating git-repo https://github.com/JuliaRegistries/Uncurated.git Resolving package versions... Updating C:\Users\[USERNAME]\.julia\environments\v0.7\Project.toml [91a5bcdd] + Plots v0.17.1 Updating C:\Users\[USERNAME]\.julia\environments\v0.7\Manifest.toml [3da002f7] + ColorTypes v0.6.7 [5ae59095] + Colors v0.8.2 [d38c429a] + Contour v0.4.0 [864edb3b] + DataStructures v0.8.3 [53c48c17] + FixedPointNumbers v0.4.6 [28b8d3ca] + GR v0.31.0 [442fdcdd] + Measures v0.2.0 [e1d29d7a] + Missings v0.2.9 [77ba4419] + NaNMath v0.3.1 [ccf2f8ad] + PlotThemes v0.2.0 [995b91a9] + PlotUtils v0.4.4 [91a5bcdd] + Plots v0.17.1 [3cdcf5f2] + RecipesBase v0.3.1 [189a3867] + Reexport v0.1.0 [ae029012] + Requires v0.4.3 [992d4aef] + Showoff v0.2.0 [a2af1166] + SortingAlgorithms v0.2.1 [90137ffa] + StaticArrays v0.7.0 [2913bbd2] + StatsBase v0.23.0

but once i try to run an example it gives me this answer

ERROR: UndefVarError: plot not defined

other useful outputs are

julia>Pkg.status("Plots") WARNING: Base.Pkg is deprecated, run using Pkg instead in module Main ERROR: MethodError: no method matching status(::String) Closest candidates are: status(::Pkg.Types.Context, ::Pkg.Types.PackageMode) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\Display.jl:33 status(::Pkg.Types.Context, ::Pkg.Types.PackageMode, ::Any) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\Display.jl:33

julia> Pkg.test("Plots") WARNING: Base.Pkg is deprecated, run using Pkg instead in module Main Testing Plots Resolving package versions... Updating C:\Users\GUSTAV~1\AppData\Local\Temp\jl_7EE2.tmp\Project.toml [d38c429a] + Contour v0.4.0 [53c48c17] + FixedPointNumbers v0.4.6 [28b8d3ca] + GR v0.31.0 [7073ff75] - IJulia v1.8.0 [18364772] - IPython v0.0.2 [6218d12a] + ImageMagick v0.5.1 [916415d5] + Images v0.13.0 [682c06a0] + JSON v0.17.2 [442fdcdd] + Measures v0.2.0 [77ba4419] + NaNMath v0.3.1 [ccf2f8ad] + PlotThemes v0.2.0 [995b91a9] + PlotUtils v0.4.4 [dca85d43] + QuartzImageIO v0.3.1 [ce6b1742] + RDatasets v0.4.0 [3cdcf5f2] + RecipesBase v0.3.1 [189a3867] + Reexport v0.1.0 [ae029012] + Requires v0.4.3 [992d4aef] + Showoff v0.2.0 [60ddc479] + StatPlots v0.7.2 [90137ffa] + StaticArrays v0.7.0 [2913bbd2] + StatsBase v0.23.0 [b8865327] + UnicodePlots v0.2.6 [34922c18] + VisualRegressionTests v0.1.0 [c2297ded] - ZMQ v0.6.1 Updating C:\Users\GUSTAV~1\AppData\Local\Temp\jl_7EE2.tmp\Manifest.toml [621f4979] + AbstractFFTs v0.3.1 [13072b0f] + AxisAlgorithms v0.2.0 [39de3d68] + AxisArrays v0.2.1 [e1450e63] + BufferedStreams v0.4.0 [336ed68f] + CSV v0.2.4 [49dc2e85] + Calculus v0.4.0 [aafaddc9] + CatIndices v0.1.0 [324d7699] + CategoricalArrays v0.3.9 [944b1d66] + CodecZlib v0.4.3 [c3611d14] + ColorVectorSpace v0.5.2 [bbf7d656] + CommonSubexpressions v0.1.0 [ed09eef8] + ComputationalResources v0.2.0 [8f4d0f93] - Conda v0.7.1 [150eb455] + CoordinateTransformations v0.4.1 [dc8bdbbb] + CustomUnitRanges v0.1.0 [a93c6f00] + DataFrames v0.11.6 [9a8bc11e] + DataStreams v0.3.6 [e7dc6d0d] + DataValues v0.3.3 [01453d9d] + DiffEqDiffTools v0.4.1 [163ba53b] + DiffResults v0.0.3 [b552c78f] + DiffRules v0.0.4 [b4f34e82] + Distances v0.6.0 [31c24e10] + Distributions v0.15.0 [fa6b7ba4] + DualNumbers v0.3.0 [4f61f5a4] + FFTViews v0.1.0 [7a1cc6ca] + FFTW v0.2.2 [5789e2e9] + FileIO v0.9.0 [f6369f11] + ForwardDiff v0.7.5 [a2bd30eb] + Graphics v0.3.0 [0862f596] + HTTPClient v0.2.1 [d9be37ee] + Homebrew v0.6.3 [7073ff75] - IJulia v1.8.0 [18364772] - IPython v0.0.2 [bbac6d45] + IdentityRanges v0.1.0 [2803e5a7] + ImageAxes v0.4.0 [a09fc81d] + ImageCore v0.6.0 [51556ac3] + ImageDistances v0.0.2 [6a3955dd] + ImageFiltering v0.3.0 [6218d12a] + ImageMagick v0.5.1 [bc367c6b] + ImageMetadata v0.4.0 [787d08f9] + ImageMorphology v0.0.2 [02fcd773] + ImageTransformations v0.4.1 [916415d5] + Images v0.13.0 [9b13fd28] + IndirectArrays v0.4.2 [a98d9a8b] + Interpolations v0.7.3 [8197267c] + IntervalSets v0.2.0 [c8e1da08] + IterTools v0.2.1 [1c8ee90f] + IterableTables v0.7.1 [82899510] + IteratorInterfaceExtensions v0.0.2 [5ab0869b] + KernelDensity v0.4.1 [b27032c2] + LibCURL v0.2.2 [522f3ed2] + LibExpat v0.4.2 [2ec943e9] + Libz v0.2.4 [9c8b4983] + LightXML v0.6.0 [d3d80556] + LineSearches v3.2.5 [dbb5928d] + MappedArrays v0.0.7 [739be429] - MbedTLS v0.5.11 [78c3b35d] + Mocking v0.5.2 [d41bc354] + NLSolversBase v4.4.1 [73a701b4] + NamedTuples v4.0.2 [6fe1bfb0] + OffsetArrays v0.5.0 [429524aa] + Optim v0.14.1 [90014a1f] + PDMats v0.9.1 [5432bcbf] + PaddedViews v0.3.0 [d96e819e] + Parameters v0.9.0 [85a6dd25] + PositiveFactorizations v0.1.0 [92933f4c] + ProgressMeter v0.5.5 [438e738f] - PyCall v1.16.1 [1fd47b50] + QuadGK v0.2.1 [dca85d43] + QuartzImageIO v0.3.1 [df47a6cb] + RData v0.4.0 [ce6b1742] + RDatasets v0.4.0 [b3c3ace0] + RangeArrays v0.2.0 [c84ed2f1] + Ratios v0.2.0 [79098fc4] + Rmath v0.3.3 [6038ab10] + Rotations v0.7.0 [b9d75638] + SIUnits v0.1.0 [9966252f] + ShowItLikeYouBuildIt v0.2.0 [699a6c99] + SimpleTraits v0.7.1 [276daf66] + SpecialFunctions v0.4.0 [60ddc479] + StatPlots v0.7.2 [4c63d2b9] + StatsFuns v0.6.0 [3783bdb8] + TableTraits v0.2.0 [382cd787] + TableTraitsUtils v0.1.3 [9b435220] + TexExtensions v0.1.0 [06e1c1a7] + TiledIteration v0.1.0 [f269a46b] + TimeZones v0.7.0 [3bb67fe8] + TranscodingStreams v0.5.2 [b8865327] + UnicodePlots v0.2.6 [81def892] - VersionParsing v1.1.0 [34922c18] + VisualRegressionTests v0.1.0 [ea10d353] + WeakRefStrings v0.4.7 [c17dfb99] + WinRPM v0.3.2 [efce3f68] + WoodburyMatrices v0.2.2 [c2297ded] - ZMQ v0.6.1 [7b1f6079] - FileWatching ┌ Warning: Deprecated syntax type at C:\Users[USERNAME].julia\packages\VisualRegressionTests\BFqx\src\VisualRegressionTests.jl:14. │ Use mutable struct instead. └ @ nothing VisualRegressionTests.jl:14 ┌ Warning: Deprecated syntax type at C:\Users[USERNAME].julia\packages\VisualRegressionTests\BFqx\src\VisualRegressionTests.jl:34. │ Use mutable struct instead. └ @ nothing VisualRegressionTests.jl:34 ┌ Warning: warn() is deprecated, use @warn instead. │ caller = #warn#795(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String) at deprecated.jl:1029 └ @ Base deprecated.jl:1029 WARNING: Gtk not loaded. err: ArgumentError("Module Gtk not found in current path.\nRun Pkg.add(\"Gtk\") to install the Gtk package.") WARNING: importing deprecated binding Base.fft into Images. WARNING: importing deprecated binding Base.ifft into Images. WARNING: could not import Base.linearindexing into Images WARNING: Method definition (::Type{StatsBase.Weights{#49#S, #50#T, #51#V} where #51#V<:AbstractArray{#50#T, 1} where #50#T<:Real where #49#S<:Real})(V<:(AbstractArray{T, 1} where T<:Real), S<:Real) where {S<:Real, V<:(AbstractArray{T, 1} where T<:Real)} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:57. WARNING: Method definition (::Type{StatsBase.AnalyticWeights{#52#S, #53#T, #54#V} where #54#V<:AbstractArray{#53#T, 1} where #53#T<:Real where #52#S<:Real})(V<:(AbstractArray{T, 1} where T<:Real), S<:Real) where {S<:Real, V<:(AbstractArray{T, 1} where T<:Real)} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:93. WARNING: Method definition (::Type{StatsBase.FrequencyWeights{#55#S, #56#T, #57#V} where #57#V<:AbstractArray{#56#T, 1} where #56#T<:Real where #55#S<:Real})(V<:(AbstractArray{T, 1} where T<:Real), S<:Real) where {S<:Real, V<:(AbstractArray{T, 1} where T<:Real)} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:133. WARNING: Method definition (::Type{StatsBase.ProbabilityWeights{#58#S, #59#T, #60#V} where #60#V<:AbstractArray{#59#T, 1} where #59#T<:Real where #58#S<:Real})(V<:(AbstractArray{T, 1} where T<:Real), S<:Real) where {S<:Real, V<:(AbstractArray{T, 1} where T<:Real)} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:173. WARNING: Method definition (::Type{StatsBase.Weights{#49#S, #50#T, #51#V} where #51#V<:AbstractArray{#50#T, 1} where #50#T<:Real where #49#S<:Real})(#51#V<:AbstractArray{#50#T<:Real, 1}, #49#S<:Real) where {#49#S<:Real, #50#T<:Real, #51#V<:AbstractArray{#50#T<:Real, 1}} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:57 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13. WARNING: Method definition (::Type{StatsBase.Weights{#49#S, #50#T, #51#V} where #51#V<:AbstractArray{#50#T, 1} where #50#T<:Real where #49#S<:Real})(V<:(AbstractArray{T, 1} where T<:Real), S<:Real) where {S<:Real, V<:(AbstractArray{T, 1} where T<:Real)} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:57. WARNING: Method definition (::Type{StatsBase.AnalyticWeights{#52#S, #53#T, #54#V} where #54#V<:AbstractArray{#53#T, 1} where #53#T<:Real where #52#S<:Real})(#54#V<:AbstractArray{#53#T<:Real, 1}, #52#S<:Real) where {#52#S<:Real, #53#T<:Real, #54#V<:AbstractArray{#53#T<:Real, 1}} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:93 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13. WARNING: Method definition (::Type{StatsBase.AnalyticWeights{#52#S, #53#T, #54#V} where #54#V<:AbstractArray{#53#T, 1} where #53#T<:Real where #52#S<:Real})(V<:(AbstractArray{T, 1} where T<:Real), S<:Real) where {S<:Real, V<:(AbstractArray{T, 1} where T<:Real)} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:93. WARNING: Method definition (::Type{StatsBase.FrequencyWeights{#55#S, #56#T, #57#V} where #57#V<:AbstractArray{#56#T, 1} where #56#T<:Real where #55#S<:Real})(#57#V<:AbstractArray{#56#T<:Real, 1}, #55#S<:Real) where {#55#S<:Real, #56#T<:Real, #57#V<:AbstractArray{#56#T<:Real, 1}} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:133 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13. WARNING: Method definition (::Type{StatsBase.FrequencyWeights{#55#S, #56#T, #57#V} where #57#V<:AbstractArray{#56#T, 1} where #56#T<:Real where #55#S<:Real})(V<:(AbstractArray{T, 1} where T<:Real), S<:Real) where {S<:Real, V<:(AbstractArray{T, 1} where T<:Real)} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:133. WARNING: Method definition (::Type{StatsBase.ProbabilityWeights{#58#S, #59#T, #60#V} where #60#V<:AbstractArray{#59#T, 1} where #59#T<:Real where #58#S<:Real})(#60#V<:AbstractArray{#59#T<:Real, 1}, #58#S<:Real) where {#58#S<:Real, #59#T<:Real, #60#V<:AbstractArray{#59#T<:Real, 1}} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:173 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13. WARNING: Method definition (::Type{StatsBase.ProbabilityWeights{#58#S, #59#T, #60#V} where #60#V<:AbstractArray{#59#T, 1} where #59#T<:Real where #58#S<:Real})(V<:(AbstractArray{T, 1} where T<:Real), S<:Real) where {S<:Real, V<:(AbstractArray{T, 1} where T<:Real)} in module StatsBase at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:13 overwritten at C:\Users[USERNAME].julia\packages\StatsBase\PueG\src\weights.jl:173. WARNING: importing deprecated binding Base.norm into ColorVectorSpace. WARNING: could not import Base.promote_array_type into ColorVectorSpace WARNING: importing deprecated binding Base.varm into ColorVectorSpace. ERROR: LoadError: UndefVarError: promote_sys_size_add not defined Stacktrace: [1] getproperty(::Module, ::Symbol) at .\sysimg.jl:13 [2] top-level scope at C:\Users[USERNAME].julia\packages\ColorVectorSpace\toYN\src\ColorVectorSpace.jl:56 [3] include at .\boot.jl:314 [inlined] [4] include_relative(::Module, ::String) at .\loading.jl:1071 [5] include(::Module, ::String) at .\sysimg.jl:29 [6] top-level scope [7] eval at .\boot.jl:316 [inlined] [8] eval(::Expr) at .\client.jl:394 [9] macro expansion at .\none:3 [inlined] [10] top-level scope at .\:0 in expression starting at C:\Users[USERNAME].julia\packages\ColorVectorSpace\toYN\src\ColorVectorSpace.jl:56 ERROR: LoadError: Failed to precompile ColorVectorSpace to C:\Users[USERNAME].julia\compiled\v0.7\ColorVectorSpace\7uC4.ji. Stacktrace: [1] error at .\error.jl:33 [inlined] [2] compilecache(::Base.PkgId) at .\loading.jl:1207 [3] _require(::Base.PkgId) at .\loading.jl:978 [4] require(::Base.PkgId) at .\loading.jl:878 [5] require(::Module, ::Symbol) at .\loading.jl:873 [6] include at .\boot.jl:314 [inlined] [7] include_relative(::Module, ::String) at .\loading.jl:1071 [8] include(::Module, ::String) at .\sysimg.jl:29 [9] top-level scope [10] eval at .\boot.jl:316 [inlined] [11] eval(::Expr) at .\client.jl:394 [12] macro expansion at .\none:3 [inlined] [13] top-level scope at .\:0 in expression starting at C:\Users[USERNAME].julia\packages\Images\UgYh\src\Images.jl:29 ERROR: LoadError: LoadError: LoadError: Failed to precompile Images to C:\Users[USERNAME].julia\compiled\v0.7\Images\H8Vx.ji. Stacktrace: [1] error at .\error.jl:33 [inlined] [2] compilecache(::Base.PkgId) at .\loading.jl:1207 [3] _require(::Base.PkgId) at .\loading.jl:1007 [4] require(::Base.PkgId) at .\loading.jl:878 [5] require(::Module, ::Symbol) at .\loading.jl:873 [6] include at .\boot.jl:314 [inlined] [7] include_relative(::Module, ::String) at .\loading.jl:1071 [8] _require(::Base.PkgId) at .\loading.jl:997 [9] require(::Base.PkgId) at .\loading.jl:878 [10] require(::Module, ::Symbol) at .\loading.jl:873 [11] include at .\boot.jl:314 [inlined] [12] include_relative(::Module, ::String) at .\loading.jl:1071 [13] include(::Module, ::String) at .\sysimg.jl:29 [14] include(::String) at C:\Users[USERNAME].julia\packages\Plots\RGIT\test\runtests.jl:1 [15] top-level scope [16] include at .\boot.jl:314 [inlined] [17] include_relative(::Module, ::String) at .\loading.jl:1071 [18] include(::Module, ::String) at .\sysimg.jl:29 [19] include(::String) at .\client.jl:393 [20] top-level scope in expression starting at C:\Users[USERNAME].julia\packages\VisualRegressionTests\BFqx\src\VisualRegressionTests.jl:10 in expression starting at C:\Users[USERNAME].julia\packages\Plots\RGIT\test\imgcomp.jl:2 in expression starting at C:\Users[USERNAME].julia\packages\Plots\RGIT\test\runtests.jl:3 ERROR: Package Plots errored during testing Stacktrace: [1] cmderror at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\Types.jl:359 [inlined] [2] #test#57(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\Operations.jl:1122 [3] #test at .\:0 [inlined] [4] #test#35(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\API.jl:216 [5] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\API.jl:205 [inlined] [6] #test#34 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\API.jl:202 [inlined] [7] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\API.jl:202 [inlined] [8] #test#33 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\API.jl:201 [inlined] [9] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\API.jl:201 [inlined] [10] #test#32 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\API.jl:200 [inlined] [11] test(::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\API.jl:200 [12] top-level scope

julia> Pkg.dir("Plots") WARNING: Base.Pkg is deprecated, run using Pkg instead in module Main ┌ Warning: Pkg.dir is only kept for legacy CI script reasons └ @ Pkg.API API.jl:405 "C:\Users\[USERNAME]\.julia\packages\Plots\RGIT\"

julia> isdir(Pkg.dir("Plots")) WARNING: Base.Pkg is deprecated, run using Pkg instead in module Main true

julia> using Plots [ Info: Precompiling module Plots ┌ Warning: replace(s::AbstractString, pat, f) is deprecated, use replace(s, pat => f) instead. │ caller = _parse_colorant(::String) at parse.jl:51 └ @ Colors parse.jl:51 ┌ Warning: Deprecated syntax parametric method syntax get_color_palette{C <: Colorant}(palette::Vector{C}, bgcolor::Colorant, numcolors::Integer) around C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\color_utils.jl:73. │ Use get_color_palette(palette::Vector{C}, bgcolor::Colorant, numcolors::Integer) where C <: Colorant instead. └ @ nothing color_utils.jl:73 WARNING: importing deprecated binding Base.@sprintf into PlotUtils. WARNING: Base.@sprintf is deprecated: it has been moved to the standard library package Printf. Add using Printf to your imports. likely near C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\color_utils.jl:151 WARNING: Base.@sprintf is deprecated: it has been moved to the standard library package Printf. Add using Printf to your imports. likely near C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\color_utils.jl:155 ┌ Warning: Deprecated syntax type at C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\color_gradients.jl:2. │ Use mutable struct instead. └ @ nothing color_gradients.jl:2 ┌ Warning: Deprecated syntax immutable at C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\color_gradients.jl:106. │ Use struct instead. └ @ nothing color_gradients.jl:106 ┌ Warning: Deprecated syntax parametric method syntax register_gradient_colors{C <: Colorant}(name::Symbol, colors::AbstractVector{C}, color_library::Symbol = :default) around C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\color_gradients.jl:47. │ Use register_gradient_colors(name::Symbol, colors::AbstractVector{C}, color_library::Symbol = :default) where C <: Colorant instead. └ @ nothing color_gradients.jl:47 WARNING: importing deprecated binding Base.Void into PlotUtils. WARNING: Base.Void is deprecated, use Nothing instead. likely near C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\color_gradients.jl:176 ┌ Warning: linspace(start, stop, length::Integer) is deprecated, use range(start, stop=stop, length=length) instead. │ caller = sample_evenly(::Array{ColorTypes.RGB{Float64},1}, ::Int64) at color_gradients.jl:241 └ @ PlotUtils color_gradients.jl:241 WARNING: Base.Void is deprecated, use Nothing instead. likely near C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\colors.jl:8 WARNING: Base.Void is deprecated, use Nothing instead. likely near C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\colors.jl:15 ┌ Warning: Deprecated syntax parametric method syntax plot_color{T <: Number}(zs::AbstractArray{T}) around C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\colors.jl:50. │ Use plot_color(zs::AbstractArray{T}) where T <: Number instead. └ @ nothing colors.jl:50 ┌ Warning: Deprecated syntax parametric method syntax plot_color{T <: Number}(zs::AbstractArray{T}, α::Number) around C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\colors.jl:64. │ Use plot_color(zs::AbstractArray{T}, α::Number) where T <: Number instead. └ @ nothing colors.jl:64 ┌ Warning: Deprecated syntax parametric method syntax bounding_order_of_magnitude{DT}(xspan::DT) around C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\ticks.jl:8. │ Use bounding_order_of_magnitude(xspan::DT) where DT instead. └ @ nothing ticks.jl:8 ┌ Warning: Deprecated syntax parametric method syntax optimize_ticks{T}(x_min::T, x_max::T; extend_ticks::Bool = false, Q = [(1.0, 1.0), (5.0, 0.9), (2.0, 0.7), (2.5, 0.5), (3.0, 0.2)], k_min::Int = 2, k_max::Int = 10, k_ideal::Int = 5, granularity_weight::Float64 = (1 / 4), simplicity_weight::Float64 = (1 / 6), coverage_weight::Float64 = (1 / 3), niceness_weight::Float64 = (1 / 4), strict_span = true, span_buffer = nothing) around C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\ticks.jl:63. │ Use optimize_ticks(x_min::T, x_max::T; extend_ticks::Bool = false, Q = [(1.0, 1.0), (5.0, 0.9), (2.0, 0.7), (2.5, 0.5), (3.0, 0.2)], k_min::Int = 2, k_max::Int = 10, k_ideal::Int = 5, granularity_weight::Float64 = (1 / 4), simplicity_weight::Float64 = (1 / 6), coverage_weight::Float64 = (1 / 3), niceness_weight::Float64 = (1 / 4), strict_span = true, span_buffer = nothing) where T instead. └ @ nothing ticks.jl:63 ┌ Warning: Deprecated syntax parametric method syntax optimize_ticks_typed{T}(x_min::T, x_max::T, extend_ticks, Q::Vector{Tuple{Float64, Float64}}, k_min, k_max, k_ideal, granularity_weight::Float64, simplicity_weight::Float64, coverage_weight::Float64, niceness_weight::Float64, strict_span, span_buffer) around C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\ticks.jl:75. │ Use optimize_ticks_typed(x_min::T, x_max::T, extend_ticks, Q::Vector{Tuple{Float64, Float64}}, k_min, k_max, k_ideal, granularity_weight::Float64, simplicity_weight::Float64, coverage_weight::Float64, niceness_weight::Float64, strict_span, span_buffer) where T instead. └ @ nothing ticks.jl:75 ┌ Warning: Deprecated syntax `const declaration on local variable` around C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\ticks.jl:81. └ @ nothing ticks.jl:81 ERROR: LoadError: LoadError: UndefVarError: Date not defined Stacktrace: [1] top-level scope [2] include at .\boot.jl:314 [inlined] [3] include_relative(::Module, ::String) at .\loading.jl:1071 [4] include(::Module, ::String) at .\sysimg.jl:29 [5] include(::String) at C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\PlotUtils.jl:4 [6] top-level scope [7] include at .\boot.jl:314 [inlined] [8] include_relative(::Module, ::String) at .\loading.jl:1071 [9] include(::Module, ::String) at .\sysimg.jl:29 [10] top-level scope [11] eval at .\boot.jl:316 [inlined] [12] eval(::Expr) at .\client.jl:394 [13] macro expansion at .\none:3 [inlined] [14] top-level scope at .\:0 in expression starting at C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\ticks.jl:190 in expression starting at C:\Users[USERNAME].julia\packages\PlotUtils\YjED\src\PlotUtils.jl:35 ERROR: LoadError: Failed to precompile PlotUtils to C:\Users[USERNAME].julia\compiled\v0.7\PlotUtils\YveH.ji. Stacktrace: [1] error at .\error.jl:33 [inlined] [2] compilecache(::Base.PkgId) at .\loading.jl:1207 [3] _require(::Base.PkgId) at .\loading.jl:978 [4] require(::Base.PkgId) at .\loading.jl:878 [5] require(::Module, ::Symbol) at .\loading.jl:873 [6] include at .\boot.jl:314 [inlined] [7] include_relative(::Module, ::String) at .\loading.jl:1071 [8] include(::Module, ::String) at .\sysimg.jl:29 [9] top-level scope [10] eval at .\boot.jl:316 [inlined] [11] eval(::Expr) at .\client.jl:394 [12] macro expansion at .\none:3 [inlined] [13] top-level scope at .\:0 in expression starting at C:\Users[USERNAME].julia\packages\Plots\RGIT\src\Plots.jl:13 ERROR: Failed to precompile Plots to C:\Users[USERNAME].julia\compiled\v0.7\Plots\ld3v.ji. Stacktrace: [1] error at .\error.jl:33 [inlined] [2] compilecache(::Base.PkgId) at .\loading.jl:1207 [3] _require(::Base.PkgId) at .\loading.jl:1007 [4] require(::Base.PkgId) at .\loading.jl:878 [5] require(::Module, ::Symbol) at .\loading.jl:873

mkborregaard commented 6 years ago

Use the new package manager instead on 0.7: https://docs.julialang.org/en/latest/stdlib/Pkg/