【发布时间】:2021-12-04 18:05:47
【问题描述】:
转帖here.
我added 一个包,然后deved 它,然后在freeing 它之前将其删除。现在我遇到了一个我无法修复的错误。我删除了注册表目录,还下载了 julia 1.7 并重新开始(对于新的 Manifest 和 Project 文件),但我收到以下错误:
(@v1.7) pkg> add https://github.com/jacob-roth/PowerDynamics.jl.git
Cloning git-repo `https://github.com/jacob-roth/PowerDynamics.jl.git`
ERROR: failed to clone from https://github.com/jacob-roth/PowerDynamics.jl.git, error: GitError(Code:ERROR, Class:OS, could not remove directory /Users/myuser/.julia/clones/231828409692979274/refs/remotes/origin/compathelper/new_version/2020-08-01-00-06-19-852-2271493462': parent is not directory: Not a directory)
克隆/Users/myuser/.julia/clones/231828409692979274/ 不存在。我能做些什么?我试过rming 包PowerDynamics,下载新版本的julia 并重试,还删除了整个.julia/ 目录,但我仍然遇到同样的错误。
【问题讨论】: