我正在使用涉及animation的示例之一测试reactive-banana 0.8.0.0
我得到一个关于找不到Paths模块的错误。问题所在是:
import Paths (getDataFile)错误是:
D:\temp\animation.hs:11:8:
Could not find module `Paths'
Use -v to see a list of the files searched for.
Failed, modules loaded: none.
Prelude> :load "d:/temp/animation.hs"有人知道从哪里获取或者如何安装这个模块吗?(我在Windows XP 64上使用的是mingw.org的Haskell Platform 2013.2和mingw32 )。
发布于 2016-04-06 22:00:18
这个问题现在可能已经过时了,但不知何故,我只是碰巧来到了这一页。在撰写本文时,该模块似乎是位于"src“目录下的包本身中的included。
这似乎不会在cabal file中公开,所以它不是包的公共接口的一部分。相反,它仅在动画可执行文件的other-modules下列出。
Executable Animation
if flag(buildExamples)
build-depends:
process >= 1.0 && < 1.4,
random >= 1.0 && <= 1.1,
executable-path == 0.0.*,
filepath >= 1.1 && <= 1.4.0.0,
reactive-banana, wx, wxcore, base
cpp-options: -DbuildExamples
else
buildable: False
hs-source-dirs: src
other-modules: Paths_reactive_banana_wx, Paths
main-is: Animation.hs要回答“从哪里获取或如何安装此模块”的问题-只需使用软件包中包含的cabal文件。
https://stackoverflow.com/questions/23366742
复制相似问题