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

OSX ImportError: ('Unable to load OpenGL library', 'dlopen(OpenGL, 10): image not found', 'OpenGL', None) #1

Open
er1c opened this issue Jul 31, 2021 · 0 comments

Comments

@er1c
Copy link

er1c commented Jul 31, 2021

On latest OSX there is one OpenGL issue:

  File "/Applications/Horus 2.app/Contents/Resources/lib/python2.7/OpenGL/platform/darwin.py", line 41, in GL
    raise ImportError("Unable to load OpenGL library", *err.args)
ImportError: ('Unable to load OpenGL library', 'dlopen(OpenGL, 10): image not found', 'OpenGL', None)

This can be fixed by editing: /Applications/Horus.app/Contents/Resources/lib/python2.7/OpenGL/platform/ctypesloader.py

Replace: fullName = util.find_library( name ) with: fullName = '/System/Library/Frameworks/OpenGL.framework/OpenGL'

It will load the app, but it doesn't appear to have access to the camera, so looks like there is still some other issue.

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

1 participant