diff --git a/__main__.py b/__main__.py index 95bf67a..4881055 100644 --- a/__main__.py +++ b/__main__.py @@ -10,6 +10,15 @@ except ImportError: pip.main(['install', 'PyQt6']) print("### PyQt6 installed ###") +print('### Checking install of ffmpeg ###') +try: + import ffmpeg + print("### Check passed ###") +except ImportError: + print("PyQt6 is not installed. Installing PyQt6...") + pip.main(['install', 'ffmpeg']) + print("### PyQt6 installed ###") + from PyQt6.QtWidgets import QApplication import traceback, configparser