Unregistred Package

Hello everyone,
there is an unregistered package that i’m unable to add it, and this what the terminal shows me:

julia

(v0.7) pkg> add https://github.com/duguxy/PolyLib.jl
  Updating git-repo `https://github.com/duguxy/PolyLib.jl`
[ Info: Assigning UUID eab61c58-cf4b-5c8e-a38a-406089312cd5 to PolyLib
 Resolving package versions...
  Updating `~/.julia/environments/v0.7/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v0.7/Manifest.toml`
 [no changes]
  Building PolyLib → `~/.julia/packages/PolyLib/Quy0Z/deps/build.log`
┌ Error: Error building `PolyLib`: 
│ ERROR: LoadError: ArgumentError: Package Pkg not found in current path:
│ - Run `Pkg.add("Pkg")` to install the Pkg package.
│ 
│ Stacktrace:
│  [1] require(::Module, ::Symbol) at ./loading.jl:817
│  [2] include at ./boot.jl:317 [inlined]
│  [3] include_relative(::Module, ::String) at ./loading.jl:1038
│  [4] include at ./sysimg.jl:29 [inlined]
│  [5] include_ifexists at ./client.jl:201 [inlined]
│  [6] load_julia_startup() at ./client.jl:298
│  [7] exec_options(::Base.JLOptions) at ./logging.jl:312
│  [8] _start() at ./client.jl:432
│ in expression starting at /home/marouane/.julia/config/startup.jl:1
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1068

i did install the package of Pkg but no results.
and this the package that i am trying to add:
https://github.com/duguxy/PolyLib.jl/tree/master/src

Given that this was updated 3 years ago and uses Julia 0.4, it is very likely to be outdated for 1.0 (= 0.7 in this context).

Even if you could fix the build problem, it is unlikely to work without being updated.

1 Like