Mov2Mov / install.py
AmyTheKamiwazaGirl2001's picture
Upload 37 files
99c376f verified
raw
history blame contribute delete
754 Bytes
import os
import platform
import launch
if not launch.is_installed("cv2"):
print('Installing requirements for Mov2mov')
launch.run_pip("install opencv-python", "requirements for opencv")
if platform.system() == 'Windows':
if not launch.is_installed('imageio'):
print('Installing requirements for Mov2mov')
launch.run_pip("install imageio", "requirements for imageio")
if not launch.is_installed('imageio-ffmpeg'):
print('Installing requirements for Mov2mov')
launch.run_pip("install imageio-ffmpeg", "requirements for imageio-ffmpeg")
else:
if not launch.is_installed('ffmpeg'):
print('Installing requirements for Mov2mov')
launch.run_pip("install ffmpeg", "requirements for ffmpeg")