我尝试使用以下方法安装xgboost:
pip install setuptools
conda config --add channels conda-forge
conda install xgboost
收到以下错误:
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- xgboost
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://conda.anaconda.org/anaconda-fusion/win-64
- https://conda.anaconda.org/anaconda-fusion/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
已安装setuptools
不确定什么是行不通的。有什么想法吗?