Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
85 views

How to Solve mujoco-py Installation Error Caused by Windows Path Length Limitation?

When using the OpenAI Gym HalfCheetah-v4 environment on windows, I encountered a path length limitation issue. The specific error is as follows: could not create 'C:\Users\zchy\AppData\Local\Packages\...
SSZZZ's user avatar
  • 9
0 votes
0 answers
138 views

WSL2 OpenAI Gym - render segmentation fault

I was trying to get gym to work on WSL2. I installed VcXsrv and configured it on Windows 11 according to the tutorials, pasted export DISPLAY=$(ip route list default | awk '{print $3}'):0 export ...
Blato's user avatar
  • 1
0 votes
1 answer
1k views

MuJoCo build errors on Windows 10

Running Windows 10 Python 3.10, trying to run the OpenAI Gym humanoid example: humanoid.py Suspect something to do with Cython and C compiler. PS C:\mayhem\gym\gym\envs\mujoco> python .\humanoid.py ...
jmcmahon443's user avatar
1 vote
1 answer
1k views

AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing' / box 2d doesn't install successfully

environment_name = 'CarRacing-v0' env = gym.make(environment_name) AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing' and i did pip install box2d in anaconda prompt but it gives me ...
jinwoo han's user avatar
3 votes
0 answers
1k views

OpenAI Gym render flickering WSL

I can't get OpenAI Gym to work on WSL2 Windows 11. Minimal example import gym env = gym.make('CartPole-v0') env.reset() for _ in range(1000): env.render() env.step(env.action_space.sample()) #...
Julian Schubert's user avatar
1 vote
1 answer
1k views

OpenAI Gym + WSL2 + VcXsrv moving window issue

The most common way to run OpenAI Gym on Windows seems to use the Windows Subsystem for Linux and an X Server like VcXsrv or XMing. I managed to get it all up and running, but I have an annoying issue ...
nash's user avatar
  • 305
1 vote
1 answer
295 views

Why can't I activate gym form

I am trying to use openAI gym, and I have installed it following their documentation. Whenever I try to run their basic cart-pole example: import gym env = gym.make('CartPole-v0') env.reset() for _ ...
Bennett-Bowden's user avatar
0 votes
1 answer
951 views

Install GYM openAI win 10/7

I am new here and following this guide (https://towardsdatascience.com/how-to-install-openai-gym-in-a-windows-environment-338969e24d30) it is not possible to install the open AI, there is always an ...
danceflavor's user avatar
1 vote
0 answers
426 views

How to install Gym Torcs for Windows

I am trying to install Gym Torcs on my Windows 10 notebook. I was able to install it on the same notebook using Ubuntu 16.04 LTS, but I removed Ubuntu because my notebook had severe overheating issues ...
MrYouMath's user avatar
  • 603
0 votes
1 answer
3k views

GlfwError: Failed to create GLFW window (windows)

I am using openAI gym on windows 10 x64, with python 3.6.7 through windows remote desktop and i succeeded in installing atari-py and mujoco-py, but when i tried running this code. import gym env = ...
LuKa Chen's user avatar
1 vote
1 answer
1k views

OSerror [Winerror 126] the specified module could not be found

I am doing reinforcement learning. Running the Atari example causes an OSerror. I use Win 10 and tensorflow 1.3, keras 2.2.2 import gym import numpy as np from keras.models import Sequential from ...
LimCheolHo's user avatar
45 votes
5 answers
44k views

OpenAI Gym Atari on Windows

I'm having issues installing OpenAI Gym Atari environment on Windows 10. I have successfully installed and used OpenAI Gym already on the same system. It keeps tripping up when trying to run a ...
dant's user avatar
  • 697
10 votes
2 answers
8k views

How to install OpenAI Universe without getting error code 1 on Windows?

When I try to install OpenAi Universe on my Windows machine via python pip I get following stacktrace: Traceback (most recent call last): File "<string>", line 1, in <module> ...
creativecreatorormaybenot's user avatar