Unable to install psychtoolbox on windows

Hi, I am trying to install Psychtoolbox on Windows 10. I have previously been successful with installing it on this machine. I have tried different recent versions of Matlab but get the same error message. The error is:
ERROR: Most likely cause: The Microsoft Visual C++ 2019 runtime libraries
ERROR: are missing on your system.

ERROR: Execute the installer file vcredist_x64_2015-2019.exe, which is located in your Psychtoolbox/PsychContributed/ folder.
ERROR: You must execute that installer as an administrator user. Exit Matlab before the installation, then restart it.
ERROR: After fixing the problem, restart this installation/update routine.

ERROR: You can also just do a: cd(PsychtoolboxRoot); SetupPsychtoolbox;

ERROR: This will avoid a full download of Psychtoolbox over the internet and just finish the setup.

However, i have run the vcredist exe in the psychtoolbox folder (elevated) multiple times with the same result. I have tried uninstall/reinstall with the same result.

I get this error when running SetupPsychtoolbox from the PsychContributed folder.

Suggestions?

Thanks.

Larry Stern
UT Austin

Same issue here. Windows 11. Matlab 2018b.

Removed the 2015-2022 redistributable 32 and 64 versions. installed the provided 2019 version didnt work, so added the 32 and still didnt work.

I receive the exact same error as the original poster.

Which PTB version, and how did you install it?

If it is PTB 3.0.20.0 and you got it directly from a Git clone/checkout or via the source code zip files, instead of the commonly used and generally recommended 3.0.20.0.zip file then you’d need to “manually” install the license manager libraries - a new requirement. You’d have to run
downloadlexactivator(0,1) from the Psychtoolbox-3/managementtools/ subfolder at the moment. This step for unusual install paths will be automated later, but not yet in the 3.0.20.0 beta release.

Other than that new one for 3.0.20.0, there are no known failure modes.

1 Like