Closed dspinellis closed 4 years ago
Thanks for the report!
The plat
is obtained by get_platform()
from _definitions.py
, which uses sys.platform
. What is sys.platform
on CygWin?
I don't have CygWin installed at the moment. A pull request would be very welcome.
The code using get_platform()
is contained in get_ffmpeg_exe()
, where plat
is used to select the exe to use. Should this be the Windows .exe
? If so, then we should make get_platform()
return win
on CygWin as well, and that should be it.
Fixed by #27
Calling
imageio_ffmpeg.get_ffmpeg_exe()
under CygWin raises an exception.The
get_platform
function, which is used to setplat
, seems to work fine with a normal import.