Skip to content Skip to sidebar Skip to footer

Why Am I Getting "invalid Syntax" Error While Importing Universe Module From Openai

When I import universe module from openAI. I get the following error. Traceback (most recent call last): File '', line 1, in File '/home/kunal/Desk

Solution 1:

On Ubuntu 16.04 and 18.04:

sudo apt-get install -y libglu1-mesa-dev libgl1-mesa-dev libosmesa6-dev xvfb ffmpeg curl patchelf libglfw3 libglfw3-dev cmake zlib1g zlib1g-dev swig

After that reinstall the gym using:

git clone https://github.com/openai/gym.git
cd gym
pip install -e .

Post a Comment for "Why Am I Getting "invalid Syntax" Error While Importing Universe Module From Openai"