Package 'Profile' in Julia 1.0.1 Can not be installed

I’m trying to install Package “profile”, it gives some errors.
How I can solve this, please?

julia> import Pkg;

julia> Pkg.add(“profile”)
ERROR: The following package names could not be resolved:

  • profile (not found in project, manifest or registry)
    Please specify by known name=uuid.
    Stacktrace:
    [1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120
    [2] #ensure_resolved#43(::Bool, ::Function, ::Pkg.Types.EnvCache, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:896
    [3] #ensure_resolved at ./none:0 [inlined]
    [4] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:59
    [5] #add_or_develop at ./none:0 [inlined]
    [6] #add_or_develop#12 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:29 [inlined]
    [7] #add_or_develop at ./none:0 [inlined]
    [8] #add_or_develop#11 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:28 [inlined]
    [9] #add_or_develop at ./none:0 [inlined]
    [10] #add_or_develop#10 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:27 [inlined]
    [11] #add_or_develop at ./none:0 [inlined]
    [12] #add#18 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [inlined]
    [13] add(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69
    [14] top-level scope at none:0

It’s part of the standard library, so using Profile just works.

PS:

3 Likes

Thank you very much…

You’re welcome! There is a “mark as solved” thingy you can click.

1 Like