交叉邮递在这里。
\n我add编辑了一个包,然后dev编辑了它,然后在free编辑它之前将其删除。现在我收到一个错误,我可以\xe2\x80\x99t 修复该错误。我删除了注册表目录,还下载了 julia 1.7 并重新启动(对于新Manifest文件Project),但出现以下错误:
(@v1.7) pkg> add https://github.com/jacob-roth/PowerDynamics.jl.git\n Cloning git-repo `https://github.com/jacob-roth/PowerDynamics.jl.git`\nERROR: 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)\nRun Code Online (Sandbox Code Playgroud)\n克隆/Users/myuser/.julia/clones/231828409692979274/不存在。我能做些什么?我已经尝试rm过安装包PowerDynamics,下载新版本的 julia 并重试,并删除整个.julia/目录,但我仍然遇到相同的错误。
https://github.com/jacob-roth/PowerDynamics.jl.git上的存储库(无论是有意还是无意)对 macOS 和 Windows 用户不友好:那里有一个名为 的分支CompatHelper,然后是一系列名为 的三个分支。您可以通过访问此 URL在 GitHub 视图中查看这些内容。compathelper/new_version/date
在 Linux 或 Unix 机器上,CompatHelper是与compathelper. 因此,可以在文件系统的同一位置创建名为 的文件CompatHelper和名为 的目录。compathelper但在 macOS 系统的默认设置下,无法执行此操作。Git 认为它应该自动发生,因此可以正常工作,但事实并非如此,这会导致您git clone失败。
这个特定的 Git 错误可能最终会被修复,但现在,将存储库克隆到区分大小写的文件系统中。您可以在 macOS 系统上轻松创建一个;在这里查看我的答案。这将回避大多数其他问题,尽管 macOS 仍然无法创建 Linux 可以创建的某些名称。