问题描述
我一直在尝试为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 (将#修改为@)