-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with cabal install #48
Comments
I think your problem comes from constraintkinds 1.3.0 being incompatible with HLearn-algebra. As far as I know only in the latest version of HLearn-algebra is the dependency constraint set to not allow constraintkinds 1.3.0. |
Restricting the version to 1.1.0.0 does not work because ConstraintKinds doesn't build properly:
I noticed constraintkinds has been deprecated. Is Hlearn going to be updated to use subhask? |
The version on github uses subhask. There are a LOT of improvements, but it'll be a while before it is ready for a proper release onto hackage. |
I've got a similar problem, I'm currently using Mac OS X 10.10.3 with ghc 7.8.3 and tried the quick and dirty installation guide however without succes. I'm using the antipolymorphism branch of HLearn with subhask from the git repository. I currently get
How can I solve this? I'd love to try HLearn |
That guide was wrong. I've updated it with the correct commands. Be forewarned that the documentation once installed is very sparse, so don't get your hopes too high on doing too many useful things with it yet. |
Thanks for the help :) I tried the new quick and dirty install guide but it didn't work. The build still hangs on
However, after some google work I stumbled upon the following:
and then the cabal build gave some error like
worked my way through by commenting out the specific lines but then trying to import the files does not work anymore. |
Yesterday I was in the process of converting the repo to work with GHC 7.10, and I didn't quite finish. So the latest commit might break some stuff. Sorry about that. I should have been working in another branch. Try running
and see if that works. |
i'm trying to install HLearn and i got this: src/HLearn/Data/LoadData.hs:28:8: src/HLearn/Models/Classifiers/Common.hs:8:8: |
@aibrahim You either need to use the |
Hello I know HLearn from your blog, HLearn is really an exciting project. But I encount some problem when I try to install HLearn from cabal. My GHC version is: version 7.8.3. My operating system is Mac OSX 10.10.2. The following is the error message I get. Thanks a lot!
$ cabal install HLearn-algebra-0.0.1
Resolving dependencies...
Configuring HLearn-algebra-0.0.1...
Building HLearn-algebra-0.0.1...
Failed to install HLearn-algebra-0.0.1
Last 10 lines of the build log ( /Users/haihan/.cabal/logs/HLearn-algebra-0.0.1.log ):
[2 of 4] Compiling HLearn.Algebra.Functions ( src/HLearn/Algebra/Functions.hs, dist/build/HLearn/Algebra/Functions.o )
src/HLearn/Algebra/Functions.hs:42:7:
Not in scope: type constructor or class ‘CK.Partitionable’
src/HLearn/Algebra/Functions.hs:43:7:
Not in scope:
type constructor or class ‘CK.PartitionableConstraint’
src/HLearn/Algebra/Functions.hs:48:34: Not in scope: ‘CK.partition’
cabal: Error: some packages failed to install:
HLearn-algebra-0.0.1 failed during the building phase. The exception was:
ExitFailure 1
The text was updated successfully, but these errors were encountered: