无法安装核心,不太可能报告下载问题
Cannot install Core, unlikely download issues reported
我正在尝试在 Mac OsX 上使用 opam 安装 Janestreet 的 OCaml 核心,以开始使用 "Real world OCaml" 这本书。
我收到以下错误:
===== ERROR while installing herelib.109.35.02 =====
Could not get the source for herelib.109.35.02:
# opam-version 1.1.1
# os darwin
Cannot download https://opam.ocaml.org/archives/herelib.109.35.02+opam.tar.gz,
please check your connection settings.
herelib
之后的所有其他库也都失败了。
不过,我没有连接问题,因为 herelib
之前的库都在下载(据我所知,最后一次成功是 type_conv
)。此外,将报告的 URL 粘贴到 Chrome 中会立即开始文件下载,因此从源头上看似乎不是服务器问题。
Homebrew 报告我的 Opam 和 Ocaml 是最新的。
有什么想法吗?
您的 herelib
和 opam
版本号看起来都过时了。以下内容可能有所帮助:
使用 opam update
更新您的存储库
尝试使用较新的opam
,它在macports和brew下可用。
我正在尝试在 Mac OsX 上使用 opam 安装 Janestreet 的 OCaml 核心,以开始使用 "Real world OCaml" 这本书。
我收到以下错误:
===== ERROR while installing herelib.109.35.02 =====
Could not get the source for herelib.109.35.02:
# opam-version 1.1.1
# os darwin
Cannot download https://opam.ocaml.org/archives/herelib.109.35.02+opam.tar.gz,
please check your connection settings.
herelib
之后的所有其他库也都失败了。
不过,我没有连接问题,因为 herelib
之前的库都在下载(据我所知,最后一次成功是 type_conv
)。此外,将报告的 URL 粘贴到 Chrome 中会立即开始文件下载,因此从源头上看似乎不是服务器问题。
Homebrew 报告我的 Opam 和 Ocaml 是最新的。
有什么想法吗?
您的 herelib
和 opam
版本号看起来都过时了。以下内容可能有所帮助:
使用
opam update
更新您的存储库
尝试使用较新的
opam
,它在macports和brew下可用。