psychopy.org | Reference | Downloads | Github

Psychopy fails to launch

I have just downloaded the latest version of psychopy on a Win10 machine, but can’t get it to launch.
Following instruction from the website, then attempted to launch it from the command prompt with

PsychoPy3\python.exe -m psychopy.app.psychopyApp

I got the message below - it looks as though there is an issue with OpenGL towards the bottom.
Any suggestions for fixing this?

John

pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\runpy.py”, line 193, in run_module_as_main
main”, mod_spec)
File “C:\Program Files\PsychoPy3\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\psychopyApp.py”, line 104, in
main()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\psychopyApp.py”, line 100, in main
start_app()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\psychopyApp.py”, line 28, in start_app
app = PsychoPyApp(0, showSplash=showSplash)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app_psychopyApp.py”, line 182, in init
self.onInit(testMode=testMode, **kwargs)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app_psychopyApp.py”, line 320, in onInit
self.showBuilder(fileList=exps)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app_psychopyApp.py”, line 504, in showBuilder
self.newBuilderFrame()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app_psychopyApp.py”, line 490, in newBuilderFrame
fileName=fileName, app=self)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py”, line 1120, in init
self.componentButtons = ComponentsPanel(self)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py”, line 740, in init
self.app.prefs.builder[‘componentsFolders’])
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\components_init
.py", line 58, in getAllComponents
components = getComponents(fetchIcons=fetchIcons) # get the built-ins
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\components_init
.py", line 149, in getComponents
module = import_module(explicit_rel_path, package=pkg)
File “C:\Program Files\PsychoPy3\lib\importlib_init_.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 955, in _find_and_load_unlocked
File “”, line 665, in load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\components\slider_init
.py", line 14, in
from psychopy.visual import slider
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual_init
.py", line 31, in
from .window import Window, getMsPerFrame, openWindows
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\window.py”, line 102, in
from . import shaders as _shaders
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\shaders.py”, line 14, in
import psychopy.tools.gltools as gltools
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\tools\gltools.py”, line 93, in
GL.glGenQueries(1, ctypes.byref(QUERY_COUNTER))
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib_wgl.py”, line 106, in call
return self.func(*args, **kwargs)
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py”, line 63, in MissingFunction
raise MissingFunctionException(name, requires, suggestions)
pyglet.gl.lib.MissingFunctionException: glGenQueries is not exported by the available OpenGL driver. VERSION_1_5 is required for this functionality.
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion “GetEventHandler() == this” failed at …\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed

I guess that I must have done, as I used it for 2nd-year practicals in feb, but I don’t recall how it was resolved.

John