OS: win10
PsychoPy version: v2024.2.4
**Standard Standalone? ** : yes
What are you trying to achieve?: I am a first time user and am trying to run demos and simple scripts to understand how Psychopy works.
What did you try to make it work?: I tried to run the colors.py demos in the Coder section but I received the following error message (my computer is connected to the internet so I don’t understand what went wrong):
522.7231 WARNING Couldn’t connect to psychopy.org
Check internet settings (and proxy setting in PsychoPy Preferences.
Running: C:\Program Files\PsychoPy\lib\site-packages\psychopy\demos\coder\understanding psychopy\colors.py
The experiment then ended with this:
File “C:\Program Files\PsychoPy\lib\site-packages\requests\adapters.py”, line 698, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘fonts.googleapis.com’, port=443): Max retries exceeded with url: /css2?family=Helvetica+Bold&display=swap (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)’)))
36.0793 WARNING Monitor specification not found. Creating a temporary one…
################# Experiment ended with exit code 1 [pid:9572] #################
I simply downloaded Psychopy and installed it, is there anything else that need to be set up before running experiments?
After this I tried to run a simple routine following a youtube video, but again I get an error message:
Generating PsychoPy script…
Running: H:\PROJECTS_GIT\MA\verbal_memory_task\Psychopy\test1\test1_lastrun.py
4294.0399 INFO Loaded monitor calibration from [‘2025_01_23 09:53’]
4294.0736 INFO Loaded monitor calibration from [‘2025_01_23 09:53’]
Traceback (most recent call last):
File “H:\PROJECTS_GIT\MA\verbal_memory_task\Psychopy\test1\test1_lastrun.py”, line 976, in
win = setupWindow(expInfo=expInfo)
File “H:\PROJECTS_GIT\MA\verbal_memory_task\Psychopy\test1\test1_lastrun.py”, line 194, in setupWindow
win = visual.Window(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 433, in init
self.setColor(color, colorSpace=colorSpace, log=False)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 2929, in setColor
self.color = color
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 2911, in color
self._color = Color(value, self.colorSpace)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\colors.py”, line 272, in init
self.set(color=color, space=space)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\colors.py”, line 370, in set
setattr(self, space, color)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\colors.py”, line 766, in hex
color = color.strip(‘#’)
AttributeError: ‘numpy.int32’ object has no attribute ‘strip’
Exception ignored in: <function Window.del at 0x000002AE598E7D90>
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 665, in del
self.close()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 2657, in close
self.backend.close() # moved here, dereferencing the window prevents
AttributeError: ‘NoneType’ object has no attribute ‘close’
################# Experiment ended with exit code 1 [pid:2008] #################