haskell – 更新cabal时出错

我无法在
Windows 7上更新cabal.运行cabal install cabal-install时,出现以下错误:

Linking C:\Users\sberg\AppData\Local\Temp\Cabal-1.18.1.2-10956\Cabal-1.18.1.2\dist\setup\setup.exe ...
Configuring Cabal-1.18.1.2...
setup.exe: does not exist
Failed to install Cabal-1.18.1.2
cabal: Error: some packages failed to install:
Cabal-1.18.1.2 failed during the configure step. The exception was:
ExitFailure 1
cabal-install-1.18.0.2 depends on Cabal-1.18.1.2 which failed to install.

我找不到有关haskellwiki / cabal faq的任何信息.我错过了什么吗?我正在使用windows的haskell平台版本2013.2.0.0.

最佳答案 我有同样的问题,尝试通过MSYS运行它,但它不适合我.

我的解决方案是将%PATH%环境变量修改为仅保留标准Windows目录和Haskell目录.

我想用R和Python找到的构建工具干扰了构建过程.

点赞