nok / sklearn-porter

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing using anaconda

okoutb opened this issue · comments

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

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