我尝试通过包管理器更新当前环境中的包并收到以下错误:
(@v1.6) pkg> update
Updating registry at `~/.julia/registries/General`
┌ Warning: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/46715bc8c87dc9f8d86b589ce090af6fcca81565
└ @ Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1156
ERROR: "/tmp/jl_F8q8cm/Registry.toml": No such file
Stacktrace:
[1] error(::String, ::String)
@ Base ./error.jl:42
知道可能出了什么问题吗?
最佳答案
看起来通用注册表的链接已损坏。解决这个问题需要做的就是:
] registry rm General
]up
这将删除常规注册表,然后在运行 up
命令时默认重新添加它。
关于julia - 错误: "/tmp/jl_F8q8cm/Registry.toml": No such file in Julia REPL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69163786/