notadamking / RLTrader

A cryptocurrency trading environment using deep reinforcement learning and OpenAI's gym
https://discord.gg/ZZ7BGWh
GNU General Public License v3.0
1.73k stars 539 forks source link

AttributeError #151

Open soundmartell opened 2 years ago

soundmartell commented 2 years ago

AttributeError: module 'contextlib' has no attribute 'nullcontext'

MichaelQuaMan commented 2 years ago

@soundmartell Can you provide a stacktrace so we can see where and when the exception happens?

contextlib module is just a generic module for handling the Python context manager: https://docs.python.org/3/library/contextlib.html

So, just posting this message and expecting someone to fix it, is like driving a car, hearing a noise and telling the mechanic you heard a noise.

If you can provide more detail I'd be happy to take a look, but just this error isn't sufficient to even start to an investigation.