我在一个 linux 机器上并试图尝试使用 Haskell 的Accelerate库,但在安装它时遇到问题。我已经成功安装了加速包,但似乎存在依赖问题,我在下面详细说明。
cabal: Error: some packages failed to install:
accelerate-cuda-0.14.0.0 depends on haskell-src-exts-1.14.0.1 which failed to
install.
cuda-0.5.1.1 failed during the configure step. The exception was:
ExitFailure 1
haskell-src-exts-1.14.0.1 failed during the configure step. The exception was:
ExitFailure 1
haskell-src-meta-0.6.0.5 depends on haskell-src-exts-1.14.0.1 which failed to
install.
language-c-quote-0.7.6 depends on haskell-src-exts-1.14.0.1 which failed to
install.
我搜索了 SO 并注意到其他人在安装cuda包时遇到了类似的问题,并通过将 cabal bin 路径添加到 PATH 来解决;我试过这个,但它没有解决这个问题。
请有人帮忙,因为我真的很想玩这个奇妙的图书馆。