nok / sklearn-porter

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.
BSD 3-Clause "New" or "Revised" License
1.28k stars 170 forks source link

Installing using anaconda #32

Closed okoutb closed 6 years ago

okoutb commented 6 years ago

Hello I'm using anaconda3 and I want to install sklearn-porter What will be the best way to do this? conda install doesn't work:

okoob$ conda install sklearn-porter
Solving environment: failed

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

  - sklearn-porter

Current channels:

  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/osx-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/pro/osx-64
  - https://repo.anaconda.com/pkgs/pro/noarch
nok commented 6 years ago

Hello @okoutb, just activate your conda environment and install the package via pip:

source activate <your_env_name> && pip install sklearn-porter  # \o/

If you don't activate a specific conda environment with source activate <name> the package will be installed to the default conda environment root. You can check your conda environments with conda list.

Best, Darius