我想通过Windows命令行使用conda安装sklearn_pandas库。该软件包在conda存储库中显然是“私有的”(诚然,这很可能就是我无法安装它的原因,但我宁愿寻求建议,以防万一。
我尝试过conda install -c creditx sklearn_pandas
,但遇到以下错误:
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.
任何人都知道如何使用conda安装软件包(不是软件包README中指定的pip)吗?
答案 0 :(得分:1)
您可以简单地使用easy_install package_name 因此,根据您的情况。
easy_install sklearn_pandas
简易安装是与easy_install
捆绑在一起的python模块(setuptools
)
可让您自动下载,构建,安装和管理Python
包
https://svn.python.org/projects/sandbox/branches/setuptools-0.6/EasyInstall.txt
答案 1 :(得分:1)
您可以使用以下方法安装sklearn-pandas
:
pip install sklearn-pandas
答案 2 :(得分:0)
您将这样安装sklearn-pandas
:
pip install sklearn-pandas
如果您使用的是python3
,请运行以下命令:
pip3 install sklearn-pandas
如果您需要使用sudo
,请运行以下命令:
sudo -H pip3 install sklearn-pandas