ERROR: Module not found (higher) using MAML

Hi,
I’m using RLlib library, version 1.3.0, with python 3.8.10 on a conda virtual environment.
When trying to run a training with MAML, I get the following error message:

File “/home/ssel/anaconda3/envs/RLlib_env/lib/python3.8/site-packages/ray/rllib/agents/maml/maml_torch_policy.py”, line 276, in maml_loss
policy.loss_obj = MAMLLoss(
File “/home/ssel/anaconda3/envs/RLlib_env/lib/python3.8/site-packages/ray/rllib/agents/maml/maml_torch_policy.py”, line 137, in init
import higher
ModuleNotFoundError: No module named ‘higher’

I would like to know if this error depends on the meta-environment I created via Gym or on the library itself.

Please let me know if you need the full error report.

Thank you in advance for the help.

pip install higher should fix your problem!

1 Like

Thank you very much, it worked!