HLearn
HLearn copied to clipboard
Cabal install failure
I executed cabal undate
and cabal install HLearn-algebra
but it keeps trying to install ConstraintKinds-1.1.0.0 which always fails. This is strange since in the repository it asks for >=1.2.0 .
I'm getting the same problem. Look forward to testing out this library!
I'm trying to work through this:
https://izbicki.me/blog/gausian-distributions-are-monoids
and I get this:
Failed to install ConstraintKinds-1.1.0.0 cabal: Error: some packages failed to install: ConstraintKinds-1.1.0.0 failed during the building phase. The exception was: ExitFailure 1 HLearn-algebra-1.1.0.1 depends on ConstraintKinds-1.1.0.0 which failed to install.
It works for me with ghc 7.6.3. Executed this in a sandbox: cabal install constraintkinds-1.1.0.0 -w path/to/ghc7.6.3
The sandbox may or may not be important..
This is also happening to me, using ghc 7.8.4 and cabal 1.22. Are there any workarounds for these issues besides using a downgraded sandboxed ghc?
@damienstanton The version on hackage will only run on ghc 7.6. The master branch has a number of significant improvements, however, so that's what I'd recommend using. That should compile with your setup, but you'll first need to install the latest version of subhask (https://github.com/mikeizbicki/subhask) which is not on hackage at all.
Got it. Thank you for the replies!
I am attempting to work through the gausian-distributions-are-monoids post as well. I am a Haskell newbie; I am quite unfamiliar with cabal. I attempted cabal install HLearn-distributions
, which failedc since it still depends on ConstraintKinds-1.1.0.0
. Is there any work on updating the default repository that cabal uses so that the installation command above will succeed?
This will happen sometime this summer, but I'm sorry that I can't be more specific than that with a date.
On Mon, Jun 1, 2015 at 4:50 PM, Malcolm Greaves [email protected] wrote:
I am attempting to work through the gausian-distributions-are-monoids post as well. I am a Haskell newbie; I am quite unfamiliar with cabal. I attempted cabal install HLearn-distributions, which failedc since it still depends on ConstraintKinds-1.1.0.0. Is there any work on updating the default repository that cabal uses so that the installation command above will work?
— Reply to this email directly or view it on GitHub https://github.com/mikeizbicki/HLearn/issues/44#issuecomment-107748675.