当我尝试安装目录包时,出现以下错误:
我尝试执行 cabal install Cabal,但它依赖于 directory,因此也失败了。出了什么问题,我该如何解决?
$ cabal install directory
Resolving dependencies...
Failed to install directory-1.2.2.1
cabal: Error: some packages failed to install:
directory-1.2.2.1 failed during the configure step. The exception was:
user error (The package requires Cabal library version -any && >=1.10 but no
suitable version is installed.)
我的cabal版本是:
cabal --version
cabal-install version 1.16.0.2
using version 1.16.0 of the Cabal library
我尝试执行 cabal install Cabal,但它依赖于 directory,因此也失败了。出了什么问题,我该如何解决?
cabal install cabal cabal-install
。来自 https://www.haskell.org/cabal/download.html - ja.