【发布时间】:2014-05-15 11:21:24
【问题描述】:
我的问题与这篇文章类似:
OCaml: Can't run utop after installing it
我尝试打开核心库,结果还是一样:
$ open Core.Std
Couldn't get a file descriptor referring to the console
我尝试了以下带有正确引号的命令:
eval `opam config env`
但没有任何反应,尽管我已经安装了核心,问题仍然存在。我也尝试按照这个网页上的安装说明(https://github.com/realworldocaml/book/wiki/Installation-Instructions),但它没有提到这个奇怪的问题。
我在 Windows 8 上通过 Hyper-V 在虚拟机中使用 Ubuntu 24。我想问的另一个问题是许多网页,如 (http://kwangyulseo.com/2014/03/04/installing-ocamlopamutopcore-library-on-ubuntu-saucy/),建议在“.ocamlinit 文件”中编译某些命令行。但我不知道在哪里可以找到这个文件以及如何在 linux 中修改它。在我生命中的大部分时间里,我一直是 Windows 用户。
如果问题的级别太低,请见谅。
【问题讨论】:
标签: ocaml