| Reference | Downloads | Github

NameError: name ‘PUINT’ is not defined

I downloaded the package as recommended according to the website. I have checked out the other thread (link) and have attempted the recommended fixes from there. Still no response.

Using PC (windows 10), Virtual IDE: Pycharm, python 2.7

The code:
from psychopy import visual,core, event
window = visual.Window(size=(400,400),fullscr=1)

It flags up visual ( pyglet), and the error traceback is outputted in the console below:

C:\Python27\python.exe C:/Users/Tolly/PycharmProjects/parsonCue/
Traceback (most recent call last):
File “C:/Users/Tolly/PycharmProjects/parsonCue/”, line 1, in
from psychopy import visual,core, event
File “C:\Python27\lib\site-packages\psychopy\”, line 17, in
from .window import Window, getMsPerFrame, openWindows
File “C:\Python27\lib\site-packages\psychopy\visual\”, line 57, in
from psychopy import core, platform_specific, logging, prefs, monitors, event
File “C:\Python27\lib\site-packages\psychopy\”, line 44, in
from pyglet.window.mouse import LEFT, MIDDLE, RIGHT
File “C:\Python27\lib\site-packages\pyglet\”, line 1769, in
from pyglet.window.win32 import Win32Window as Window
File “C:\Python27\lib\site-packages\pyglet\window\”, line 59, in
from pyglet.canvas.win32 import Win32Canvas
File “C:\Python27\lib\site-packages\pyglet\”, line 99, in
from pyglet.canvas.win32 import Win32Display as Display
File “C:\Python27\lib\site-packages\pyglet\canvas\”, line 7, in
from pyglet.libs.win32 import _kernel32, user32, types, constants
File "C:\Python27\lib\site-packages\pyglet\libs\win32_init
.py", line 237, in
_user32.GetRawInputData.argtypes = [HRAWINPUT, UINT, LPVOID, PUINT, UINT]
NameError: name ‘PUINT’ is not defined

Process finished with exit code 1

My attempts thus far:
I have downgraded pyglet as recommended here and then reupgraded it, and tested it against psychopy 1.9, 1.85, and 1.84 and failing to get different results.

Beyond reiterating your options from below, I don’t know what to say. Can’t you just install Standalone PsychoPy?