小编shm*_*ble的帖子

用于MoviePy的macOS上的ffmpeg安装因SSL错误而失败

我正在尝试编写一个在Mac OS 10.11.16上使用MoviePy将Python文件转换为GIF的Python程序.我用:

import moviepy.editor as mp
Run Code Online (Sandbox Code Playgroud)

我得到一个错误,说我需要打电话,imageio.plugins.ffmpeg.download()所以我可以下载ffmpeg.我用:

import imageio
imageio.plugins.ffmpeg.download()
Run Code Online (Sandbox Code Playgroud)

这给了我以下错误:

Imageio: 'ffmpeg.osx' was not found on your computer; downloading it now.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>.
Traceback (most recent call last):
  File "<pyshell#2>", …
Run Code Online (Sandbox Code Playgroud)

python macos ffmpeg moviepy python-imageio

8
推荐指数
2
解决办法
2103
查看次数

标签 统计

ffmpeg ×1

macos ×1

moviepy ×1

python ×1

python-imageio ×1