0

I'm a Windows user and would like to use those mentioned algorithms in the title with my Jupyter notebook which is a part of Anaconda installation.

I've tried in anaconda promt window:

pip install xgboost

which retuned:

Could not find a version that satisfies the requirement xgboost (from versions: ) No matching distribution found for xgboost

Likewise, I've tried:

conda install lightgbm

which returned:

Solving environment: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/r/noarch/repodata.json.bz2 Elapsed: -

Help would be appreciated.

Brian Spiering
  • 23,131
  • 2
  • 29
  • 113
Stanislav Jirak
  • 133
  • 1
  • 4

3 Answers3

2

Follow this XGBoost installation guide: https://xgboost.readthedocs.io/en/latest/build.html

If you are using python3 then make sure that you run: pip3 install xgboost

To fix the problem with lightgbm on windows try installing OpenSSL first, refer this: https://www.cloudinsidr.com/content/how-to-install-the-most-recent-version-of-openssl-on-windows-10-in-64-bit/n

Preet
  • 638
  • 3
  • 5
2

For anaconda you can install py-xgboost with:

conda install -c anaconda py-xgboost

Stephen Rauch
  • 1,831
  • 11
  • 23
  • 34
0

I tried installing XGBoost as per the official guide as well as the steps detailed here. Unfortunately I could make neither work on My windows 10 64 bit machine.

What worked for me is to install it to anaconda's py-xgboost package.

Stephen Rauch
  • 1,831
  • 11
  • 23
  • 34