Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Troubleshooting

diegopliebana edited this page Jul 27, 2018 · 1 revision

Running MARLO Agents

* Unexpected keyword argument 'dtype'

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

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /