timbod7 / haskell-chart

A 2D charting library for haskell
430 stars 85 forks source link

Can I use haskell-chart in win10? #222

Open brioglade opened 4 years ago

brioglade commented 4 years ago

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.