@chrisoei wrote:
Hi everyone,
I’m trying to get the examples in the Flux model zoo to run, but I’m having problems in the Pkg.instantiate() step mentioned in the README. I’ve tried it using both Julia 1.2.0 and 1.0.5 on Xubuntu 18.04 (64-bit):
c@h172x:~/src/model-zoo/text/char-rnn$ julia _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.2.0 (2019-08-20) _/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release |__/ | julia> using Pkg julia> Pkg.activate(".") Activating environment at `~/src/model-zoo/text/char-rnn/Project.toml` julia> Pkg.instantiate() Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` ERROR: Package CredentialsHandler [864e158e-919d-11e8-198e-cfe890ec4681] not found in a registry. Stacktrace: [1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.2/Pkg/src/Types.jl:112 [2] check_registered(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.2/Pkg/src/Operations.jl:924 [3] #instantiate#81(::Nothing, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.instantiate), ::Pkg.Types.Context) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:480 [4] instantiate at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:461 [inlined] [5] #instantiate#80 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:458 [inlined] [6] instantiate() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:458 [7] top-level scope at REPL[3]:1
On Julia 1.0.5, I get a different error:
julia> using Pkg julia> Pkg.activate(".") "/home/c/src/model-zoo/text/char-rnn/Project.toml" julia> Pkg.instantiate() Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` ERROR: KeyError: key "git-tree-sha1" not found Stacktrace: [1] getindex(::Dict{String,Any}, ::String) at ./dict.jl:478 [2] #instantiate#61(::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:558 [3] #instantiate#60 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:537 [inlined] [4] instantiate() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:535 [5] top-level scope at none:0
Any ideas?
Thanks for any and all help!
-Chris
Posts: 2
Participants: 1