You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im running windows and i've got the env installed into gym but when i go to run:
import gym
env = gym.make('SuperMarioBros-1-1-v0')
observation = env.reset()
for _ in range(1000):
env.render()
action = env.action_space.sample() # your agent here (this takes random actions)
observation, reward, done, info = env.step(action)
I receive the following error:
[2017-08-16 21:29:14,763] Making new env: SuperMarioBros-1-1-v0
Traceback (most recent call last):
File "C:/Users/username/PycharmProjects/AI/tutorials.py", line 3, in <module>
observation = env.reset()
File "C:\Users\username\Anaconda3\envs\Python352\lib\site-packages\gym-0.9.2-py3.5.egg\gym\core.py", line 104, in reset
return self._reset()
File "C:\Users\username\Anaconda3\envs\Python352\lib\site-packages\gym-0.9.2-py3.5.egg\gym\envs\ppaquette_gym_super_mario\nes_env.py", line 653, in _reset
self._launch_fceux()
File "C:\Users\username\Anaconda3\envs\Python352\lib\site-packages\gym-0.9.2-py3.5.egg\gym\envs\ppaquette_gym_super_mario\nes_env.py", line 194, in _launch_fceux
temp_lua_file = open(temp_lua_path, 'w', 1)
OSError: [Errno 22] Invalid argument: '\tmp\\3628161587.lua'
'C:\Users\usernm~1\AppData\Local\Temp\smb-fifo-out.684933541' is not recognized as an internal or external command,
operable program or batch file.
'C:\Users\usernm~1\AppData\Local\Temp\smb-fifo-in.684933541' is not recognized as an internal or external command,
operable program or batch file.
The text was updated successfully, but these errors were encountered:
Im running windows and i've got the env installed into gym but when i go to run:
I receive the following error:
The text was updated successfully, but these errors were encountered: