lilohuang/PyTurboJPEG

OSError: [WinError 126] The specified module could not be found.

jxylon opened this issue · 1 comments

Traceback (most recent call last):
File "D:/pythonproj/school/dipclass/dipex4.py", line 202, in
homework1()
File "D:/pythonproj/school/dipclass/dipex4.py", line 184, in homework1
jpeg = TurboJPEG('E:/libjpeg-turbo-gcc/')

jpeg = TurboJPEG('E:/libjpeg-turbo-gcc/') should be changed to jpeg = TurboJPEG('E:/libjpeg-turbo-gcc/bin/turbojpeg.dll')

If E:/libjpeg-turbo-gcc/bin/turbojpeg.dll file is missing, you may download the TurboJPEG (libjpeg-turbo-2.0.3-vc64.exe) from https://sourceforge.net/projects/libjpeg-turbo/files/2.0.3/, and reinstall it.