我想在我的 Haskell 程序中做一些绘图,但是当我尝试安装 plot 时,我收到以下错误。
Preprocessing library plot-0.2.3.4...
lib/Graphics/Rendering/Plot/Figure/Simple.hs:37:8:
Could not find module ‘Numeric.Container’
Use -v to see a list of the files searched for.
lib/Graphics/Rendering/Plot/Types.hs:25:8:
Could not find module ‘Data.Packed.Vector’
Use -v to see a list of the files searched for.
lib/Graphics/Rendering/Plot/Types.hs:26:8:
Could not find module ‘Data.Packed.Matrix’
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
plot-0.2.3.4 failed during the building phase. The exception was:
ExitFailure 1
在此问题之后,我将 hmatrix 更新为版本0.17.0.1
,但仍然出现相同的错误。有任何想法吗?