ERROR: No matching distribution found for imageio-ffmpeg

标题conda环境,安装imageio-ffmpeg

pip3 install imageio-ffmpeg

报错:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’: Failed to establish a new connection: [Errno -2] Name or service not known’)’: /simple/imageio-ffmpeg/

ERROR: Could not find a version that satisfies the requirement imageio-ffmpeg (from versions: none)
ERROR: No matching distribution found for imageio-ffmpeg

原因:

conda 包不包含 ffmpeg 可执行文件,而是依赖于ffmpeg来自 conda-forge
https://github.com/imageio/imageio-ffmpeg

解决办法:

$ conda install imageio-ffmpeg -c conda-forge

你可能感兴趣的:(python,音视频)