ongenz
ongenz

Reputation: 930

Install sklearn_pandas with conda via Windows command line

I'd like to install the sklearn_pandas library with conda via the Windows command line. The package is apparently "private" on the conda repository (admittedly this may well be why I cannot install it, but I prefer to ask for advice just in case there is a way around this).

I have tried conda install -c creditx sklearn_pandas, but get the following error:

Solving environment: failed

PackagesNotFoundError: The following packages are not available from current cha
nnels:

  - sklearn_pandas

Current channels:

  - https://conda.anaconda.org/creditx/win-64
  - https://conda.anaconda.org/creditx/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/win-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/pro/win-64
  - https://repo.anaconda.com/pkgs/pro/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Anyone know how I might install the package with conda (not pip as specified in the package README)?

Upvotes: 5

Views: 3885

Answers (3)

Krishna Kumar
Krishna Kumar

Reputation: 73

You can simply use, easy_install <package_name>, in your case:

easy_install sklearn_pandas

Easy Install is a python module (easy_install) bundled with setuptools that lets you automatically download, build, install, and manage Python packages.

Upvotes: 1

Malekai
Malekai

Reputation: 5011

You'd install sklearn-pandas, like this:

pip install sklearn-pandas

If you're using python3 you'd run this:

pip3 install sklearn-pandas

And if you need to use sudo, you'd run this:

sudo -H pip3 install sklearn-pandas

Upvotes: 1

Moses Njenga
Moses Njenga

Reputation: 11

You can install sklearn-pandas using:

pip install sklearn-pandas

Upvotes: 1

Related Questions