这可能是一场斗争,因为我在 Windows 上......我最近使用 Git Bash 摆脱阴谋集团的尝试:
$ rm -R ~/AppData/Roaming/ghc ~/AppData/Roaming/cabal
$ cabal update
$ cabal install cabal-install
$ cabal install http-conduit-browser
结果是:
Failed to install http-conduit-1.9.6
Last 10 lines of the build log ( C:\Users\T\AppData\Roaming\cabal\logs\http-conduit-1.9.6.log ):
so you can specify the instance context yourself
When deriving the instance for (Read Cookie)
Network\HTTP\Conduit\Types.hs:239:19:
No instance for (Show UTCTime)
arising from the third field of `Cookie' (type `UTCTime')
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (Show Cookie)
cabal.exe: Error: some packages failed to install:
http-conduit-1.9.6 failed during the building phase. The exception was:
ExitFailure 1
http-conduit-browser-1.9.0.2 depends on http-conduit-1.9.6 which failed to
install.
尝试安装http-conduit
工作正常,但我似乎根本无法http-conduit-browser
安装。如果这不起作用,还有其他图书馆吗?我也尝试过,但由于图书馆shpider
,它不会工作。curl