benelot / pybullet-gym

Open-source implementations of OpenAI Gym MuJoCo environments for use with the OpenAI Gym Reinforcement Learning Research Platform.
https://pybullet.org/
Other
814 stars 124 forks source link

On Windows, latest pybullet-gym not compatible with latest tensorforce #37

Closed rfernand2 closed 4 years ago

rfernand2 commented 4 years ago

On Windows 10, using new conda with python=3.6, installed latest tensorflow, tensorforce, openai gym, pybullet-gym. Trying to train humanoid with:

python ./openai_gym.py HumanoidPyBulletEnv-v0 -a ./configs/ppo.json -n ./configs/mlp2_network.json -e 1000000 -m 2000 -s ./checkpoints/mujoco-humanoidv0/humanoidv0 -D

Results in error: Traceback (most recent call last): File "./openai_gym.py", line 32, in from tensorforce import TensorForceError ImportError: cannot import name 'TensorForceError'

If I correct the import line to " from tensorforce import TensorforceError as TensorForceError", I then continue to get new errors.

Is there a specific version of Tensorforce that I should be using?

rfernand2 commented 4 years ago

Found a solution: Full steps for a clean install on Windows: