Julia 的一个错误:Revspec 'HEAD' not found

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/mifangdebaise/article/details/81089770

https://github.com/JuliaLang/julia/issues/23858

  1. GitError(Code:ENOTFOUND, Class:Reference, Revspec ‘HEAD’ not found.)

First of all you should be sure it’s the actual error. To me it looks like, if Pkg.status is complaining about a missing HEAD then it’s mostlikely METADATA. Do you have git as commandline or GUI tool available? Then go into the METADATA directory and run git status.
The classical way to build a fresh and new julia home is:

  • backup the current
  • delete julia home
  • run Pkg.init
  • copy from the backup the REQUIRE file
  • run Pkg.update
  • copy from the backup other packages (on a per need basis)

猜你喜欢

转载自blog.csdn.net/mifangdebaise/article/details/81089770