通过Windows命令行使用conda安装sklearn_pandas
我想通过Windows命令行使用conda安装库。这个包在conda存储库中显然是“私有的”(诚然,这可能是我无法安装它的原因,但我更愿意征求意见,以防有办法解决这个问题) 我已尝试通过Windows命令行使用conda安装sklearn_pandas,windows,command-line,scikit-learn,conda,sklearn-pandas,Windows,Command Line,Scikit Learn,Conda,Sklearn Pandas,我想通过Windows命令行使用conda安装库。这个包在conda存储库中显然是“私有的”(诚然,这可能是我无法安装它的原因,但我更愿意征求意见,以防有办法解决这个问题) 我已尝试conda安装-c creditx sklearn_pandas,但出现以下错误: Solving environment: failed PackagesNotFoundError: The following packages are not available from current cha nnels:
conda安装-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安装软件包(不是软件包自述中指定的pip)?在您的情况下,您只需使用,
easy\u install
:
easy_install sklearn_pandas
是一个python模块(easy\u install
)与setuptools
它允许您自动下载、构建、安装和管理Python
软件包。您可以使用以下方法安装
sklearn
:
pip install sklearn-pandas
您将安装
sklearn
,如下所示:
pip install sklearn-pandas
如果您使用的是python3
,您应该运行以下命令:
pip3 install sklearn-pandas
sudo -H pip3 install sklearn-pandas
如果您需要使用sudo
,您可以运行以下命令:
pip3 install sklearn-pandas
sudo -H pip3 install sklearn-pandas
我可以看到一个带有安装说明的公共软件包,但它是一个过时的版本。你为什么不想改变环境呢?谢谢你有用的回复!我不知道你可以用pip在Anaconda环境中安装软件包。这似乎奏效了。