* Problems with installing Pandoc
@ 2022-01-25 19:40 C Ding
0 siblings, 0 replies; only message in thread
From: C Ding @ 2022-01-25 19:40 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1795 bytes --]
I was trying to install pandoc with the command `cabal install pandoc`, but
then got the following error message. What's wrong?
```
[1 of 1] Compiling Data.Ipynb ( src/Data/Ipynb.hs,
dist/build/Data/Ipynb.o )
src/Data/Ipynb.hs:152:23: error:
• No instance for (Ord Value)
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Ord JSONMeta)
|
152 | deriving (Show, Eq, Ord, Generic, Semigroup, Monoid, FromJSON)
| ^^^
src/Data/Ipynb.hs:479:23: error:
• No instance for (Ord Value)
arising from the first field of ‘JsonData’ (type ‘Value’)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Ord MimeData)
|
479 | deriving (Show, Eq, Ord, Generic)
| ^^^
Failed to install ipynb-0.2
cabal: Error: some packages failed to install:
ipynb-0.2-12lvW0D0287FL7WAB5JQxT failed during the building phase. The
exception was:
ExitFailure 1
pandoc-2.17.0.1-5yDcj1RH0pT4FRdq4hDaRb depends on pandoc-2.17.0.1 which
failed
to install.
```
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d22d274c-709f-4fe3-812a-5b403488302cn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2581 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-25 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25 19:40 Problems with installing Pandoc C Ding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).