Trying to use GLFW backend to start trying to fix this: Strange behavior with retina displays + external monitors in 1.90.2 (py2)
Using the screens-and-windows demo, set “winType” to ‘glfw’. Every time, get the above import error. Full text:
Traceback (most recent call last):
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/demos/coder/stimuli/screensAndWindows.py", line 15, in <module>
allowGUI=False, winType='glfw') # , fullscr=True)
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/visual/window.py", line 375, in __init__
self.backend = backends.getBackend(win=self, *args, **kwargs)
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/visual/backends/__init__.py", line 25, in getBackend
from .glfwbackend import GLFWBackend as Backend
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/visual/backends/glfwbackend.py", line 26, in <module>
import glfw
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/glfw/__init__.py", line 200, in <module>
raise ImportError("Failed to load GLFW3 shared library.")
ImportError: Failed to load GLFW3 shared library.
Exception ignored in: <bound method Window.__del__ of <psychopy.visual.window.Window object at 0x104143da0>>
Traceback (most recent call last):
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/visual/window.py", line 478, in __del__
self.close()
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/visual/window.py", line 1116, in close
self.backend.close() # moved here, dereferencing the window prevents
AttributeError: 'NoneType' object has no attribute 'close'
MacOS High Sierra 10.13.6, 2017 13" Macbook Pro. Pretty sure this is an OS thing. Tried installing GLFW separately and it doesn’t seem to want to install, macports keeps crashing. Open to ideas.