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
Running dm_control via Conda on macOS #223
Comments
For macOS you should set MUJOCO_GL=glfw. You'll also need to |
Tried:
And:
as well as:
But I get a new error now:
|
Can you paste the full error? I don't have enough context from that to see what's going on. |
Sorry, this is what I have:
|
(MemoryError is returned by a context manager) |
Can you try to see if you get an error by just firing up |
Yes! Same thing, even after reinstalling! |
It looks like you're trying to run this within Conda, which isn't something that we've tested. Can you try running inside a vanilla Python virtualenv? |
There are a lot of packages to install... but I think it should work since I just created a vanilla virtualenv and ran |
May be look around online to see if there are any reported issues with GLFW in Conda? |
Just a hunch: can you run |
Hmm, here's the output:
|
Can you prepend |
Sure, I'm using Hydra to manage args, so that seems to be the crux of the output:
The problem seems to be with glfw though... |
Library lookup paths for pyGLFW is defined here. According to [their PyPI page], they say that |
Unfortunately, that's the first thing I tried:
|
Can you paste the full stack trace when you just manually run |
After uninstalling the pip version:
This was with the conda version. Otherwise, the pip version throws:
|
Wait, have you installed |
No, should I give that a shot? I may have tried it back before 2.1.1. |
Yeah, install https://anaconda.org/conda-forge/pyglfw |
Still: :/
|
Any update on this? |
I installed the latest release 2.1.1, and made sure to run 'brew install glfw'. Then I updated dm_control with pip... however I am still getting this error:
'Unable to load EGL library', 'dlopen(EGL, 10): image not found', 'EGL', None
I'm not sure what the problem is. My code sets env variables as follows:
But the problem persists even when I get rid of those.
The text was updated successfully, but these errors were encountered: