Я хотел бы сделать некоторые графики в моей программе Haskell, но когда я пытаюсь установить график, я получаю следующую ошибку.Не удается установить график Haskell
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
Вслед this issue Я обновил hmatrix до версии 0.17.0.1
, но все еще получаю ту же ошибку. Есть идеи?
Установили ли вы оба вместе, или вы переустановили 'hmatrix'? – Arnon
Я переустановил только 'hmatrix' – theideasmith
Попробуйте открыть новую песочницу (' cabal sandbox init'), а затем запустить 'cabal install hmatrix-0.17.0.1 plot-0.2.3.4' .... – Arnon