TypeError: list indices must be integers or slices, not str
takemi853 opened this issue · 2 comments
takemi853 commented
When I run handyRL in colab or Kaggle, I get the following error.
Is there a problem with loading LuxAI's kaggle-environment?
File "/usr/local/lib/python3.7/dist-packages/kaggle_environments/envs/lux_ai_2021/lux_ai_2021.py", line 106, in interpreter
player1.observation.globalCityIDCount = match_obs_meta["globalCityIDCount"]
TypeError: list indices must be integers or slices, not str
YuriCat commented
Hi, @takemi853.
Thank you for your report!
If this situation is specific to Lux AI environment, sorry to say, since we have not tried it, we have nothing to help you .
If this problem stems from a lack of HandyRL assumptions about specific problems, it would be helpful if you could share the details.
YuriCat commented
Since Lux AI competition is already finished, we will close this issue.