henze-research-group / MODRLC

The Advanced Controls Test Bed (ACTB) is a virtual buildings test bed that interfaces external controllers to high-fidelity Spawn of EnergyPlus models.
26 stars 9 forks source link

python version and SyntaxError: future feature annotations is not defined #44

Closed P11GH closed 7 months ago

P11GH commented 1 year ago

Hi, I am running the case of MPC-spawnrefsmalloffice-DRevent with the command "python3 main.py", but it reported "SyntaxError: future feature annotations is not defined". I searched the internet, it told me that the feature is supported from python 3.7. But the readme file of ACTB in this MODRLC repo recommends using python 3.6. Would you help to look into the issue and help to solve it?

mattrobmattrob commented 7 months ago

This should be set up for using Python 3.9 with pyenv at this point after the change in https://github.com/henze-research-group/MODRLC/pull/45. Please re-open this issue, if that's not true.