Skip to content

Can I use haskell-chart in win10? #222

@brioglade

Description

@brioglade

Can I use haskell-chart in win10 that I got the following error?
I had installed the package Chart with "cabal install Chart".

PS C:\Users\chang\Documents\ghciplot> ghci R.hs
GHCi, version 8.10.2: https://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( R.hs, interpreted )

R.hs:1:1: error:
Could not find module ‘Graphics.Rendering.Chart.Easy’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
1 | import Graphics.Rendering.Chart.Easy
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

R.hs:2:1: error:
Could not find module ‘Graphics.Rendering.Chart.Backend.Cairo’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
2 | import Graphics.Rendering.Chart.Backend.Cairo
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed, no modules loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions