I need to install pygame (among other plugins) but am unable to do so. PsychoPy seems to believe it is not connected to the internet and, perhaps helpfully, gives this error message:
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\coder\coder.py”, line 2870, in openPluginManager dlg = psychopy.app.plugin_manager.dialog.EnvironmentManagerDlg(self)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\plugin_manager\dialog.py”, line 50, in __init__self.pluginMgr = PluginManagerPanel(self.notebook, dlg=self)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\plugin_manager\plugins.py”, line 260, in __init__self.pluginList = PluginBrowserList(self.splitter, stream=dlg.output)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\plugin_manager\plugins.py”, line 566, in __init__self.populate()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\plugin_manager\plugins.py”, line 574, in populate items = getAllPluginDetails()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\plugin_manager\plugins.py”, line 1326, in getAllPluginDetails pluginDatabase = getPluginPackages(asList=True)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\plugin_manager\packageIndex.py”, line 211, in getPluginPackages return list(_packageIndex[‘available’][‘plugins’][‘packages’].values())
TypeError: ‘NoneType’ object is not subscriptable
Maybe this is helpful to see: When I click the menu command to launch PsychoPy updates, I see the pop-up below, which is what makes me think that PsychoPy does not think it’s connected to the internet. The computer is connected via a secure wifi connection.
Of perhaps special note, this happens on a Windows 11 machine on which I do not have administrative privileges because of my university’s IT policies
. The problem persists even when I am given temporary privileges to run PsychoPy as an administrator.
OS (e.g. Win10): Win 11
PsychoPy version (e.g. 2024.2.4 Py 3.8): 2025.2.3
Do you want it to also run online? No
What are you trying to achieve?: I need to install pygame (to play audio?)
.
