intelligent-environments-lab / CityLearn

Official reinforcement learning environment for demand response and load shaping
MIT License
468 stars 171 forks source link

compatitable issue #87

Closed SHITIANYU-hue closed 10 months ago

SHITIANYU-hue commented 1 year ago

when i run :

i created a python=3.11 environment, and i run :

pip install CityLearn

it will have the following issue:

image image
kingsleynweye commented 1 year ago

@SHITIANYU-hue CityLearn is best used with Python 3.7 for now. Will update the code to use later Python versions in the near future.

SHITIANYU-hue commented 1 year ago

Hi @kingsleynweye. Thanks for your reply!

I found another compatible issue when i run : python local_evaluation.py , i think it is related to the environment https://gitlab.aicrowd.com/aicrowd/challenges/citylearn-challenge/citylearn-2023-starter-kit/-/blob/master/local_evaluation.py

image
kingsleynweye commented 1 year ago

Hi @kingsleynweye. Thanks for your reply!

I found another compatible issue when i run : python local_evaluation.py , i think it is related to the environment

https://gitlab.aicrowd.com/aicrowd/challenges/citylearn-challenge/citylearn-2023-starter-kit/-/blob/master/local_evaluation.py

image

This is most likely a CityLearn environment version issue as power outage simulation was only recently added. Update your version to CityLearn==2.1b9 to fix it as it is the correct version for Phase 2 of the 2023 Challenge.