1 parent b7c8d9c commit c66dc2dCopy full SHA for c66dc2d
1 file changed
InstagramAPI/InstagramAPI.py
@@ -23,8 +23,12 @@
23
24
try:
25
from moviepy.editor import VideoFileClip
26
-except:
27
- print("Fail to import moviepy. Need only for Video upload.")
+except ImportError:
+ import imageio
28
+ imageio.plugins.ffmpeg.download()
29
+ from moviepy.editor import VideoFileClip
30
+ #print("Fail to import moviepy. Need only for Video upload.")
31
+
32
33
# The urllib library was split into other modules from Python 2 to Python 3
34
if sys.version_info.major == 3:
0 commit comments