-
Notifications
You must be signed in to change notification settings - Fork 45
Troubleshooting
diegopliebana edited this page Jul 27, 2018
·
1 revision
It's possible that, while running a MARLO agent, you get the following error:
C:\Users\nicePerson\Documents\marLo\examples> python .\sample_single_agent.py
[2018-07-26 13:14:55,795] Making new env: MinecraftBasic-v0
Traceback (most recent call last):
File ".\sample_single_agent.py", line 7, in <module>
videoResolution=[800, 600]
File "C:\ProgramData\Anaconda3\lib\site-packages\marlo-0.0.1.dev3-py3.6.egg\marlo\envs\minecraft_env.py", line 181, in init
dtype=np.uint8
TypeError: __init__() got an unexpected keyword argument 'dtype'
This is likely a problem derived from an old installation of Gym. The easiest solution is to upgrade it, by running:
pip install -U gym