Error on Psychopy 2024.2.3

Hello!
I tried to run the code on the computer without the internet, this is the error I got
Shell ≥ Output

Traceback (most recent call last):

File “C:\Program Files\PsychoPy\1ib\site-packages\psychopy\iohub\start_lohub_process.py”, line 56, in run

s. udpService.start

File "C: \Program Files\PsychoP

ib\site-packages\gevent\baseserver.py*, line 336, in start

self. init_socket()

File “C: \Program Files\PsychoPy\Zib\site-packages\gevent\server.py”, line 229, in init_ socket

self.socket = self.get_listener(self.address, self.family)

File “C: \Program Files\PsychoPy\lib\site-packages\gevent\server.py”, line 239, in get_listener

self.socket = self.get_listener(self.address, self.family)

File “C:\Program Files\PsychoPy\Lib\site-packages\gevent\serven.py”, Line 239, in get, listener return _udp_socket(address, reuse_addr=cls.reuse_addr, family=family)

File "C: Program Files PsychoPy\L

ib\site-packages\gevent \server.py", Line 284. ang udp,socket

sock.bind(address)

File "C:\Progran Files\PsychoPy\Lib\site-packages\gevent_socketconmon.py*. Line 543, in bind

return self._sock.bind(address)

OSError: [WinError 10048] Only one

each socket address (protocol/network address/port) is normally permitted: ("*, 9036)

I think this may be fixed in 2024.2.4.

Also, try changing the keyboard backend to psytoolkit from iohub.

A system restart might also help.

1 Like

Hello!

I have incurred in the same error message in version 2024.2.4 with Python 3.10.

I don’t know if it’s relevant, byt my PC is connected to the internet.

Changing the keyboard backend to psytoolkit solved the problem.

Thanks!