ModuleNotFoundError: No module named 'past'
Created by: jmmartinezbr
I have the following issue when the code under it.
I`ve installed using 'pip install ffmpeg' and 'pip install ffmpeg-python' and both present the same error.
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\python.exe" "C:/Users/Admin/Documents/Midia_flow_ff/Main.py" Traceback (most recent call last): File "C:/Users/Admin/Documents/Midia_flow_ff/Main.py", line 2, in import ffmpeg File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\ffmpeg_init_.py", line 2, in from . import nodes File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\ffmpeg\nodes.py", line 3, in from past.builtins import basestring ModuleNotFoundError: No module named 'past'
import ffmpeg print('Encoding Starded') stream = ffmpeg.input('input.MOV') stream = ffmpeg.hflip(stream) stream = ffmpeg.output(stream, 'output.MOV') ffmpeg.run(stream) print('Encoding Ended')