xiaodaigh / JLBoost.jl

A 100%-Julia implementation of Gradient-Boosting Regression Tree algorithms
MIT License
69 stars 6 forks source link

Unable to install JLBoost.jl #46

Closed azev77 closed 4 years ago

azev77 commented 4 years ago

Hey, FYI there seem to be issues installing JLBoost now.

(v1.3) pkg> add JLBoost
  Updating registry at `C:\Users\azevelev\.julia\registries\General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package JLBoost [13d6d4a1]:
 JLBoost [13d6d4a1] log:
 ├─possible versions are: 0.1.0-0.1.6 or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.1.6
 ├─restricted by compatibility requirements with MLJBase [a7f614a8] to versions: [0.1.2-0.1.3, 0.1.6] or uninstalled, leaving only versions: [0.1.2-0.1.3, 0.1.6]
 │ └─MLJBase [a7f614a8] log:
 │   ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.6, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0-0.7.5, 0.8.0-0.8.4, 0.9.0-0.9.2, 0.10.0-0.10.1, 0.11.0-0.11.9] or uninstalled
 │   └─restricted to versions 0.11.9 by an explicit requirement, leaving only versions 0.11.9
 └─restricted by compatibility requirements with Tables [bd369af6] to versions: [0.1.0, 0.1.5] or uninstalled — no versions left
   └─Tables [bd369af6] log:
     ├─possible versions are: [0.1.0-0.1.15, 0.1.17-0.1.19, 0.2.0-0.2.11, 1.0.0-1.0.2] or uninstalled
     ├─restricted by compatibility requirements with MLJModels [d491faf4] to versions: [0.2.0-0.2.11, 1.0.0-1.0.2]
     │ └─MLJModels [d491faf4] log:
     │   ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.5, 0.3.0, 0.4.0, 0.5.0-0.5.9, 0.6.0-0.6.3, 0.7.0-0.7.2, 0.8.0-0.8.3] or uninstalled
     │   └─restricted to versions 0.8.3 by an explicit requirement, leaving only versions 0.8.3
     └─restricted by compatibility requirements with MLJScientificTypes [2e2323e0] to versions: 1.0.0-1.0.2
       └─MLJScientificTypes [2e2323e0] log:
         ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.1] or uninstalled
         └─restricted to versions 0.2.1 by an explicit requirement, leaving only versions 0.2.1

Also

(v1.3) pkg> add JLBoostMLJ
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package MLJ [add582a8]:
 MLJ [add582a8] log:
 ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.5, 0.3.0, 0.4.0, 0.5.0-0.5.9, 0.6.0-0.6.1, 0.7.0, 0.8.0, 0.9.0-0.9.3] or uninstalled
 ├─restricted to versions 0.9.3 by an explicit requirement, leaving only versions 0.9.3
 └─restricted by compatibility requirements with JLBoostMLJ [8b86df2c] to versions: 0.6.0-0.6.1 — no versions left
   └─JLBoostMLJ [8b86df2c] log:
     ├─possible versions are: 0.1.0 or uninstalled
     └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0

I love your package & it would be awesome to use inside MLJ soon. Check out EvoTrees. They have a short program MLJ.jl that interfaces their package w/ MLJ.

xiaodaigh commented 4 years ago

This seems to be a common Julia dependency issue because you probably have an updated version of MLJ in your Project.toml. I will try to update the repo in about 9 hours once I get home.

But for now you can try

]activate jlboost-env
]add JLBoost
]add JLBoostMLJ

and it should work. I just tested and it installs JLBoost fine.

They have a short program MLJ.jl that interfaces their package w/ MLJ.

Thanks for the suggestions, but I think adding MLJ now would means that the fast moving nature of MLJ would break the package more often then not.

In general, I need to try and keep the dependencies to a minimum so having JLBoostMLJ is the best choice for me atm.