Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

ImportError: DLL load failed on Windows #24

Open
pfaion opened this issue Sep 28, 2020 · 1 comment
Open

ImportError: DLL load failed on Windows #24

pfaion opened this issue Sep 28, 2020 · 1 comment

Comments

@pfaion
Copy link
Contributor

pfaion commented Sep 28, 2020

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
Copy link
Contributor

papr commented Mar 8, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants