Skip to content

CredentialsHandler not found in a registry (visualize.ipynb) #1

@Alexander-Barth

Description

@Alexander-Barth

I am try to follow the Knet lecture visualize.ipynb, but the installation (very first cell):

import Pkg; Pkg.add(Pkg.PackageSpec(url="https://github.com/JuliaComputing/JuliaAcademyData.jl"))
using JuliaAcademyData; activate("World of machine learning")

fails with

  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Cloning git-repo `https://github.com/JuliaComputing/JuliaAcademyData.jl`
  Updating git-repo `https://github.com/JuliaComputing/JuliaAcademyData.jl`ng: [===============>                         ]  35.6 %Fetching: [====================>                    ]  48.9 %Fetching: [=====================>                   ]  52.4 %Fetching: [=======================>                 ]  55.4 %Fetching: [========================>                ]  58.4 %Fetching: [========================>                ]  59.7 %Fetching: [=========================>               ]  61.4 %Fetching: [=========================>               ]  61.8 %Fetching: [===========================>             ]  66.5 %
  Updating git-repo `https://github.com/JuliaComputing/JuliaAcademyData.jl`
 Resolving package versions...
  Updating `/mnt/data1/abarth/.julia/environments/v1.2/Project.toml`
  [18b7da76] + JuliaAcademyData v0.1.0 #master (https://github.com/JuliaComputing/JuliaAcademyData.jl)
  Updating `/mnt/data1/abarth/.julia/environments/v1.2/Manifest.toml`
  [18b7da76] + JuliaAcademyData v0.1.0 #master (https://github.com/JuliaComputing/JuliaAcademyData.jl)

┌ Info: Precompiling JuliaAcademyData [18b7da76-0988-5e3b-acac-6290be3a708f]
└ @ Base loading.jl:1242

Activating environment at `~/.julia/packages/JuliaAcademyData/II8LR/courses/World of machine learning/Project.toml`

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 [inlined]
 [7] activate(::String) at /home/abarth/.julia/packages/JuliaAcademyData/II8LR/src/JuliaAcademyData.jl:30
 [8] top-level scope at In[1]:2

The package is referenced in the manifest file:
https://github.com/JuliaComputing/JuliaAcademyData.jl/blob/master/courses/World%20of%20machine%20learning/Manifest.toml#L148

Could it be that the package has been deleted and that the Manifest file has to be updated?

I am using Julia 1.2.0 on Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions