CraftJarvis/MC-Planner

ModuleNotFoundError: No module named 'tree'

elegy112138 opened this issue · 1 comments

[INFO:minedojo.tasks] Loaded 1572 Programmatic tasks, 1558 Creative tasks, and 1 special task: "Playthrough". Totally 3131 tasks loaded.
Traceback (most recent call last):
File "C:\Users\gtc\Desktop\MC-Planner-main\main.py", line 5, in
from controller import *
File "C:\Users\gtc\Desktop\MC-Planner-main\controller.py", line 33, in
from ray.rllib.models.torch.torch_action_dist import TorchMultiCategorical
File "C:\Users\gtc\AppData\Roaming\Python\Python311\site-packages\ray\rllib_init_.py", line 7, in
from ray.rllib.env.base_env import BaseEnv
File "C:\Users\gtc\AppData\Roaming\Python\Python311\site-packages\ray\rllib\env_init_.py", line 1, in
from ray.rllib.env.base_env import BaseEnv
File "C:\Users\gtc\AppData\Roaming\Python\Python311\site-packages\ray\rllib\env\base_env.py", line 6, in
from ray.rllib.utils.annotations import Deprecated, DeveloperAPI, PublicAPI
File "C:\Users\gtc\AppData\Roaming\Python\Python311\site-packages\ray\rllib\utils_init_.py", line 6, in
from ray.rllib.utils.filter import Filter
File "C:\Users\gtc\AppData\Roaming\Python\Python311\site-packages\ray\rllib\utils\filter.py", line 5, in
import tree # pip install dm_tree
^^^^^^^^^^^
ModuleNotFoundError: No module named 'tree'

You can install this package via pip install dm_tree.