如何解决无法在Windows上安装hsdev以将SublimeHaskell与SublimeText一起使用
我一直在尝试为SublimeText安装SublimeHaskell软件包,每次打开SublimeText时,我都会看到一条弹出错误消息:
Backend configuration: "Local hsdev"
Incompatible hsdev,detected version 0.0.0.0
Version should be >= 0.3.3.0 and < 0.3.4.0
因此,我尝试运行命令: cabal install hsdev
,并得到以下错误
C:\WINDOWS\system32>cabal install hsdev
Warning: The package list for 'hackage.haskell.org' is 24 days old.
Run 'cabal update' to get the latest list of available packages.
Warning: The package list for 'hackage.haskell.org' is 24 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
cabal.exe: Could not resolve dependencies:
[__0] trying: hsdev-0.3.3.8 (user goal)
[__1] next goal: template-haskell (dependency of hsdev)
[__1] rejecting: template-haskell-2.16.0.0/installed-2.16.0.0 (conflict: hsdev
=> template-haskell>=2.11.0 && <2.16)
[__1] skipping: template-haskell-2.16.0.0 (has the same characteristics that
caused the previous version to fail: excluded by constraint '>=2.11.0 &&
<2.16' from 'hsdev')
[__1] rejecting: template-haskell-2.15.0.0,template-haskell-2.14.0.0,template-haskell-2.13.0.0,template-haskell-2.12.0.0,template-haskell-2.11.1.0,template-haskell-2.11.0.0,template-haskell-2.10.0.0,template-haskell-2.9.0.0,template-haskell-2.8.0.0,template-haskell-2.7.0.0,template-haskell-2.6.0.0,template-haskell-2.5.0.0,template-haskell-2.4.0.1,template-haskell-2.4.0.0,template-haskell-2.3.0.1,template-haskell-2.3.0.0,template-haskell-2.2.0.0 (constraint from
non-upgradeable package requires installed instance)
[__1] fail (backjumping,conflict set: hsdev,template-haskell)
After searching the rest of the dependency tree exhaustively,these were the
goals I've had most trouble fulfilling: ghc-mod,hsdev,hlint,haskell-src-exts,base,template-haskell
Try running with --minimize-conflict-set to improve the error message.
我尝试重新安装cabal,但仍然不允许我下载hsdev(我在Windows计算机上,并使用Chocolatey安装了Haskell平台),有什么建议吗?
cabal-install version 3.2.0.0
The Glorious Glasgow Haskell Compilation System,version 8.10.2
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。