我正在尝试在 Windows 7 上安装 Cabal-dev。
我已经设法解决了无法使用以下方法构建网络的问题:
cabal install --constraint="network installed" cabal-dev
但是,我得到了这个:
>cabal install --constraint="network installed" cabal-dev
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: cabal-dev-0.9.1
trying: cabal-dev-0.9.1:-no-cabal-dev
trying: network-2.3.1.0/installed-489...
rejecting: parsec-3.1.3/installed-62e... (conflict: network =>
parsec==3.1.3/installed-c65...)
rejecting: parsec-3.1.3/installed-c65... (conflict: parsec =>
mtl==2.1.2/installed-533..., cabal-dev-0.9.1:no-cabal-dev => mtl>=1.1 && <2.1)
rejecting: parsec-3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.1, 3.0.0, 2.1.0.1, 2.1.0.0,
2.0 (conflict: network => parsec==3.1.3/installed-c65...)