- question: I have copied one of my julia project from local pc to a cluster using Linux. When I was trying to run
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 here - what I have checked: I have entered
status
in Pkg-REPL and it seems everything is well; and there is only one direction logs under ~/.julia enter image description here - so what caused the problem and how should I fix it? Thank you in advance!
ERROR: git repository not found at `https://github.com/JuliaRegistries/General.git`
1.1k Views Asked by Jason At
2
There are 2 best solutions below
0

I finally solve this problem by cloning from https://github.com/JuliaRegistries/General.git
manually.
cd ~/.julila
mkdir registries
andcd registries
git clone https://github.com/JuliaRegistries/General.git
and get a new directionGeneral
- now I can
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.
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.