Reputation: 21
instantiate
in Pkg-REPL, ERROR: git repository not found at `https://github.com/JuliaRegistries/General.git
occurred. And I have no idea.
enter image description herestatus
in Pkg-REPL and it seems everything is well; and there is only one direction logs under ~/.julia
enter image description hereUpvotes: 0
Views: 1233
Reputation: 21
I finally solve this problem by cloning from https://github.com/JuliaRegistries/General.git
manually.
cd ~/.julila
mkdir registries
and cd registries
git clone https://github.com/JuliaRegistries/General.git
and get a new direction General
instantiate
without any error occurred!I am not still clear why the error occurred when I clone this site automatically using instantiate
, so this is still a question to be answered.
Upvotes: 2
Reputation: 930
I'm not sure if these could be the causes, but:
www.github.com
? It is possible that a work-based server is hidden behind some firewall. Of course, quite odd to not allow outbound traffic.git clone https://github.com/JuliaRegistries/General.git
on the server and see if that is successful. If not, perhaps the error message that it gives will be helpful.Upvotes: 0