Limmen / gym-idsgame

An Abstract Cyber Security Simulation and Markov Game for OpenAI Gym
MIT License
74 stars 19 forks source link

ImportError: cannot import name 'atomic_write' from 'gym.utils' #14

Open Zhiyuan19 opened 2 months ago

Zhiyuan19 commented 2 months ago

Hi, when I run make tests in experiments folder, It seems there are some issues with gym library. Probably it is because of the version of gym. Could you please tell me the version of gym that this idsgame uses?

Limmen commented 2 months ago

Hi Zhiyuan,

This library is not actively maintained. You can still use it but you need to fix import errors yourself, i.e. upgrading the dependencies. For an up-to-date library, see: https://github.com/Limmen/csle

I recommend trying this example: https://github.com/Limmen/gym-idsgame/blob/master/examples/ppo.py rather than the IT tests, it is more up-to-date.