已经安装ray.rllib,编译时显示No module named 'tree'?

Windows系统,编译错误的语句如下:

from ray.rllib.agents import ppo

from ray.rllib.models.modelv2 import ModelV2

tree也安装了,但还是显示错误。

有建议是直接安装dm-tree修复的,你可以试一下: pip install dm-tree,参考这个:https://github.com/ray-project/ray/issues/7645