无法安装 ray[tune] tune-sklearn
我正在尝试在我的计算机上安装 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]
I'm trying to install ray[tune] tune-sklearn on my machine but keeps failing. I'm using a MacBook Pro 2019 with Big Sur Version 11.6 and Python 3.9.7 (default, Sep 16 2021, 08:50:36) [Clang 10.0.0 ] :: Anaconda, Inc. on darwin. All other packages I've tried to installed fine either using conda install or pip install except for this one. I'm struggling to find an answer online myself. I was on Python 3.8 but I removed this and installed 3.9 as I thought this was the problem. Apologies in advance, I'm new to data mining and still don't know a great deal yet.
I tried
conda install -c conda-forge -y ray-tune tune-sklearn
But got back this:
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.
I also tried
pip install ray[tune] tune-sklearn
But got back
zsh: no matches found: ray[tune]
Any help would be greatly appreciated, thank you.
Update:
I also tried
pip install 'ray[tune]'
And got back
ERROR: Could not find a version that satisfies the requirement ray[tune] (from versions: none)
ERROR: No matching distribution found for ray[tune]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ray[tune]
是 Ray 中的一个库支持可扩展超参数调整的分布式计算项目 --不是独立的 Python 包。您应该能够使用以下命令安装具有正确依赖项的ray
:安装 Ray 之后,您可以使用以下任一方法在 Python 项目中引用它:
或
ray[tune]
is a library within the Ray distributed compute project that supports scalable hyperparameter tuning -- not a stand-alone Python package. You should be able to installray
with the proper dependencies using:After Ray has been installed, you can reference it within your Python project using either:
or