Cannot install psychopy_visionscience

OS (e.g. Win10): Win11
PsychoPy version (e.g. 1.84.x): psychopy 2023.2.3
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?: : install psychopy_visionscience plugin to use noiseStim.

What did you try to make it work?:
Install psychopy_visionsicence plugin from the builder plugin installer.

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

Please see the image.

When I install psychopy_visionsicence plugin from the plugin installer, I get this message after saying it success installed.

the error message is

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\wx\core.py”, line 3407, in
lambda event: event.callable(*event.args, **event.kw) )
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\plugin_manager\dialog.py”, line 315, in onInstallExit
plugins.loadPlugin(pluginInfo.pipname)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\plugins_init_.py”, line 660, in loadPlugin
imp = importlib.import_module(ep.module_name)
File “C:\Program Files\PsychoPy\lib\importlib_init_.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 848, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Users\cogmi\AppData\Roaming\psychopy3\packages\psychopy-visionscience\psychopy_visionscience_init
.py", line 21, in
from .radial import RadialStim
File “C:\Users\cogmi\AppData\Roaming\psychopy3\packages\psychopy-visionscience\psychopy_visionscience\radial.py”, line 17, in
from …colors import Color
ValueError: attempted relative import beyond top-level package


then when I restart psychopy to check if noise stim is now added to the components,
after closing the tips window and clicking on the builder, the builder automatically quits and closes.

I can solve the automatic quiting issue by erasing the visionscience folder in plugin>psychopy>appdata>users directory but still no noise stim in the gui panel.

Has anyone experienced this issue?
Please help thanks.

Hi, there was indeed a bug with the plugin but that has now been fixed :slight_smile: You would need to first uninstall the plugin and re-install to get the latest version from PyPI.

The install of the new version seems to work now. Thank you!

1 Like