elastic / ember

Elastic Malware Benchmark for Empowering Researchers
Other
953 stars 279 forks source link

Conda cannot find lighgbm version lightgbm 2.2.3 #30

Closed MariaRigaki closed 5 years ago

MariaRigaki commented 5 years ago

In a fresh installation of conda (Ubuntu 18.04 LTS) and with a new environment created by: conda create --name ember python=3.6 there is a failure in the installation of the required packages:

(base) mari@beast:~/repos/ember$ conda activate ember
(ember) mari@beast:~/repos/ember$ conda install --file requirements_conda.txt 
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - lightgbm[version='>=2.2.3']

Current channels:

  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

Searching the main conda channel, it seems that the lightgbm package is an older version:

(ember) mari@beast:~/repos/ember$ conda search lightgbm
Loading channels: done
# Name                       Version           Build  Channel             
lightgbm                       2.2.1  py27he6710b0_0  pkgs/main           
lightgbm                       2.2.1  py36he6710b0_0  pkgs/main           
lightgbm                       2.2.1  py37he6710b0_0  pkgs/main  

The 2.2.3 version of lightgbm can be installed with pip so this is a minor issue, just reporting it in case someone else stumbles into it.

mrphilroth commented 5 years ago

I got my lightgbm 2.2.3 version from the conda-forge channel. It'll show up for you as well if you run conda config --add channels conda-forge. I updated the README.md with this info. Thanks for letting us know!