tidalcycles + ghc:无法加载包

tidalcycles + ghc:无法加载包

我正在努力奔跑潮汐周期在 Windows 上,但是从 atom 启动时出现以下错误:

ghc.exe: unable to load package `network-3.0.0.0'
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: asap :: ControlPattern -> c
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: tidal :: Stream
Variable not in scope: p :: Integer -> t
Variable not in scope: p :: Integer -> t

我已经检查过,网络或其他软件包没有冲突的版本,所有需要的软件包似乎都已安装并正常工作(我甚至尝试强制重新安装所有依赖项)我该如何解决这个问题?

答案1

这是一个奇怪的问题。从版本号可以看出,network-3.0.0 是新发布的,也许存在问题。

您可以尝试安装该库的旧版本:

ghc-pkg unregister network-3.0.0
cabal install network-2.8.0.0

然后重新安装潮汐。

如需进一步帮助,您可以加入此直播频道: https://talk.lurk.org/channel/tidal-install

相关内容