问题描述
我已经安装了 ray 模块并且我一直收到这个警告 FutureWarning: Not all Ray CLI dependencies were found. In Ray 1.4+,the Ray CLI,autoscaler,and dashboard will only be usable via
pip install 'ray[default]'. Please update your install command. (pid=None) "update your install command.",FutureWarning)
由于 "update your install command."
我更新了我的 pip 但我仍然得到它不断。
解决方法
试试pip install "ray[default]"
!最近,Ray 将其原始依赖项 (pip install ray
) 作为最小核心库,不包括自动缩放器、仪表板和指标依赖项。如果您想使用所有功能,则应使用 pip install "ray[default]"
。
你应该只写pip install "ray[default]"
。它有效。