direct PIP installation try
>>>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple box2d-py
...
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
Failed building wheel for box2d-py
...
we have to go to the wheel
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pybox2d
>>> pip install Box2D-2.3.2-cp36-cp36m-win_amd64.whl
tests the following code:
import gym
env = gym.make('CarRacing-v0')
env.reset()
for _ in range(1000):
env.render()
env.step(env.action_space.sample())
the atari wheel here
https://github.com/Kojoley/atari-py/releases p>
Read More:
- Ubuntu has solved the error of h5py installation: building wheel for h5py( setup.py )… or error: failed building wheel for h5py
- Python how does a. Py file call classes and functions in another. Py file
- Running setup.py install for sasl … error
- About Python setup.py Install error
- Install in Python 3. X web.py
- Mac install pycurl error: python setup.py egg_info" failed with error code 1”
- Error encountered while executing PIP install: error: complete output from command Python setup.py egg_ info:
- ERROR: Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-install-zsbbp6ce/mysq
- Mpi4py installation error: cannot compile MPI programs. Check your configuration!!!
- Building wheel for wrapt (setup.py) … error
- 53 Command “python setup.py egg_info“ failed with error
- File “manage.py“, line 17 ) from exc ^ SyntaxError: invalid syntax
- SystemError: execution of module h5py.utils raised unreported exception
- Running Python 3.7 web.py Runtimeerror: generator raised stopiteration exception occurred during test
- Running Django manager.py report errors Error:111 connecting to 127.0.0.1:6379.connection refused
- Fatal Python error: Py_Initialize: unable to load the file system codec.
- Building wheel for vrep-api-python (setup.py) … error ERROR: Command errored out with exit statu
- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm
- Command “python setup.py egg_info” failed with error code 1 in /private/var/folders/14/4hz051qx0wqd3
- onnx.onnx_cpp2py_export.checker.ValidationError