【问题标题】:Install imagemagick in Google Colaboratory在 Google Colaboratory 中安装 imagemagick
【发布时间】:2020-12-02 06:20:05
【问题描述】:

我正在尝试通过 imagemagick 包将动画保存为 gif。 这就是我所做的

anim.save('animation.gif', writer='imagemagick', fps=10)

但我收到以下警告

MovieWriter imagemagick unavailable; trying to use <class 'matplotlib.animation.PillowWriter'> instead.

由于 imagemagick 不是 python 包,我如何在 Google colab 中安装它? 或者,我可以使用其他包在 google colab 中将动画另存为 gif 吗?

【问题讨论】:

    标签: imagemagick google-colaboratory


    【解决方案1】:

    你可以使用apt安装它

    !apt install imagemagick
    

    【讨论】:

      猜你喜欢
      • 2018-06-06
      • 1970-01-01
      • 1970-01-01
      • 2020-06-16
      • 2020-07-01
      • 2018-06-25
      • 2018-10-27
      • 1970-01-01
      相关资源
      最近更新 更多