gpt4 book ai didi

haskell - 安装reactive-banana-wx

转载 作者:行者123 更新时间:2023-12-01 01:26:33 24 4
gpt4 key购买 nike

当您尝试安装库 reactie-banana-wx 时,出现错误:

src\CRUD.hs:10:18: Could not find module `Data.Map': It is a member of the hidden package `containers-0.4.0.0'. Perhaps you need to add `containers' to the build-depends in your .cabal file.

安装命令:
cabal install reactive-banana-wx

请帮助纠正问题。

最佳答案

它提供的建议是合理的,但有点令人困惑:cabal install隐藏产生 .cabal 的步骤文件!以下是您可以明确执行该部分的方法:

cabal unpack reactive-banana-wx
cd reactive-banana-wx-*
gvim *.cabal # or whatever editor you prefer
# follow the instructions given in the error
cabal install

关于haskell - 安装reactive-banana-wx,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7455199/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com