pupil-labs / pupil-invisible-monitor

DEPRECATED - Use https://docs.pupil-labs.com/invisible/how-tos/data-collection-with-the-companion-app/monitor-your-data-collection-in-real-time.html instead.
GNU Lesser General Public License v3.0
10 stars 3 forks source link

ImportError: DLL load failed on Windows #24

Open pfaion opened 4 years ago

pfaion commented 4 years ago

A user reported the following error when running from source on Windows: image

The reason is that the FFMPEG binaries are missing.

WORKAROUND: download the latest FFMPEG Windows build from: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.zip Then extract the ffmpeg-release-full-shared.zip somewhere where you can keep it around, as you will need these files to run Pupil Invisible Monitor. Then you will need to add the bin folder from the extracted folder to your PATH environment variable.

A solution would be to either include these instructions into the docs, OR actually make sure that the PyNDSI wheels include the FFPMEG binaries. Since it's PyNDSI which requires these and does not ship them.

papr commented 3 years ago

Follow up: Another binary that is often missing is the turbojpeg.dll file. You can download turbojpeg.dll.zip here. Extract its content to the folder from above that you added to your PATH environment variable.