-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the version of mujoco and gym that is required to run a baseline code? #625
Comments
Hi @NishanthVAnand! Thanks for pointing it out, we'll constrain the version of gym required by baselines. You'll need gym >= 0.10, and mujoco>=1.50 (I'd recommend installing the latest if you don't have a particular attachment to the old version) |
does |
Hi! Have you solved the problem? I made the similar mistake with you. I have update to gym0.12 and mujoco1.50, mujoco-py1.50.1.68, but it is still the problem. |
@Muguangfeng I solved the problem, maybe you can have a try: [https://github.com/openai/mujoco-py/issues/244] |
As you said: Using low version of gym, may cause prolem like: ImportError cannot import name FlattenDictWrapper |
I think it is related to the version of gym. I faced the problem and then I
only updated the gym, it works. It seems you can use the same license for
different version of mujoco. just make a copy and have a try.
Muguangfeng <notifications@github.com> 于2019年4月26日周五 上午10:42写道:
… As you said: Using low version of gym, may cause prolem like: ImportError
cannot import name FlattenDictWrapper
I have tried gym0.10.5、gym0.12 with mujoco131 or mujoco150, but it is
still this problem. Shouldn't this error only be related to gym?
Do I still need to try mujoco 200? This is not what I want,because
mujoco200 may require a different license with mujoco131 and mujoco150.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#625 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGETZRZTA4BSYUFBWCKCGCDPSMIERANCNFSM4FX5JTUA>
.
|
Thanks,I will have a try. |
So that particular error, |
Gym version required for baselines is now contrained (#885). Closing this issue. |
Hi! I installed gym0.10.5 by running pip install gym==0.10.5, but it is still the problem:ImportError cannot import name FlattenDictWrapper. |
So,I think you can install both of them. Just modify the path on your bashrc file before you decide which one you want to use.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Muguangfeng <notifications@github.com>
Sent: Monday, April 29, 2019 5:18 AM
To: openai/baselines
Cc: Jay Chen; Comment
Subject: Re: [openai/baselines] What is the version of mujoco and gym that is required to run a baseline code? (#625)
Hi! I installed gym0.10.5 by running pip install gym==0.10.5, but it is still the problem:ImportError cannot import name FlattenDictWrapper.
Does I need to run pip install gym[all].
If i do like this, it tell me that i need install mujoco200. I don't want to install mujoco200, because my another code requests mujoco131. Is there any solutions.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#625 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGETZR26TJC3OL4P56TQ3DLPS24P5ANCNFSM4FX5JTUA>.
|
* Bump version * Add a message to PPO2 assert (closes openai#625) * Update replay buffer doctring (closes openai#610) * Don't specify a version for pytype * Fix `VecEnv` docstrings (closes openai#577) * Typo * Re-add python version for pytype
I currently have
gym==0.9.3
and mujoco version atmujoco-py==0.5.7
. I get error when I run the PPO code. Below is the error I getfrom gym.wrappers import FlattenDictWrapper ImportError: cannot import name 'FlattenDictWrapper'
The text was updated successfully, but these errors were encountered: