0

我正在尝试在我的机器上安装 ray[tune] tune-sklearn 但一直失败。我正在使用带有 Big Sur 版本 11.6 和 Python 3.9.7 的 MacBook Pro 2019(默认,2021 年 9 月 16 日,08:50:36)[Clang 10.0.0] :: Anaconda, Inc. on darwin。我尝试使用 conda install 或 pip install 安装的所有其他软件包都很好,除了这个。我自己在网上努力寻找答案。我使用的是 Python 3.8,但我删除了它并安装了 3.9,因为我认为这是问题所在。提前道歉,我是数据挖掘的新手,还不太了解。

我试过了

conda install -c conda-forge -y ray-tune tune-sklearn

但得到了这个:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - ray-tune

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/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.

我也试过

pip install ray[tune] tune-sklearn

但是回来了

zsh: no matches found: ray[tune]

任何帮助将不胜感激,谢谢。

更新:

我也试过

pip install 'ray[tune]'

回来了

ERROR: Could not find a version that satisfies the requirement ray[tune] (from versions: none)
ERROR: No matching distribution found for ray[tune]
4

0 回答 0