Troubleshooting - laureate-institute-for-brain-research/StimTool3 GitHub Wiki
Troubleshooting
This page contains various troubleshooting information when running StimTool3
ModuleNotFoundError: No module named 'labjack'
This error occurs when because your computer does nto have ljm library installed. This is used for the NPU task when controlling the schock device using the Labjack T4 module.
Solution:
You must install the labjack-ljm pip package through psychopy's python version. Run this line in the command prompt:
C:\Users\user> "C:\Program Files\PsychoPy\python.exe" -m pip install labjack-ljm
ImportError: DLL load failed while importing cv2: The specified module could not be found.
Don't know the exact reason why this occurs, probably due to incorrect version of opencv module with the psycho pacakge.
Workaround is to just comment out line 36 in StimTool.py
# import CameraDriver.CameraDriver as CD // comment out line 36 like this