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

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


pygame 1.9.4
Hello from the pygame community.
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\”, line 193, in run_module_as_main
main”, mod_spec)
File “C:\Program Files\PsychoPy3\lib\”, line 85, in run_code
exec(code, run_globals)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\”, line 104, in
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\”, line 100, in main
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\”, line 28, in start_app
app = PsychoPyApp(0, showSplash=showSplash)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\”, line 182, in init
self.onInit(testMode=testMode, **kwargs)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\”, line 320, in onInit
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\”, line 504, in showBuilder
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\”, line 490, in newBuilderFrame
fileName=fileName, app=self)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\”, line 1120, in init
self.componentButtons = ComponentsPanel(self)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\”, line 740, in init[‘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\”, 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\”, line 102, in
from . import shaders as _shaders
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\”, line 14, in
import as gltools
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\tools\”, line 93, in
GL.glGenQueries(1, ctypes.byref(QUERY_COUNTER))
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\”, line 106, in call
return self.func(*args, **kwargs)
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\”, line 63, in MissingFunction
raise MissingFunctionException(name, requires, suggestions) 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.