Skip to content
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

Environment Error #8

Open
youpengzhao opened this issue Mar 15, 2023 · 3 comments
Open

Environment Error #8

youpengzhao opened this issue Mar 15, 2023 · 3 comments

Comments

@youpengzhao
Copy link

When I try to run the code, there's a problem like this:
image

I want to know how to fix this problem. I don't know whether this issue is caused by the version of numpy. In my configuration, the conda venv use python=3.7.0 and numpy=1.21.6.(I tried to lower the version of numpy but it does not work.)

To be mentioned, after following the readme.md, I find that there are still quite a few libraries need to installed to run the code. I hope you can improve your readme instruction.

@youpengzhao
Copy link
Author

Well, I just use np.random.randn to just replace this issue and try to run the code again. However, I find that there's still another issue.
image

I'm not sure whether this caused by the version of gym and mujoco-py. I use mujoco-py==2.0.2.8 and gym==0.26.2. I really look forward to that you can present more details about how to configure the environment. Thank you very much.

@chauncygu
Copy link
Owner

Hi youpengzhao,

Thanks for your messages. I think some packages are missing in your environment. Please install the packages using the following command:
pip install -r requirements.txt
and the NumPy version, 1.21.5, works for my machine.
I hope my reply addresses your questions.

@chauncygu chauncygu reopened this Mar 29, 2023
@YuchenXiaCUHK
Copy link

Try
pip install -U gym==0.17.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants