Commit e02c7736 authored by Vincent Pinon's avatar Vincent Pinon
Browse files

duplicated file with name clash on windows

parent a137426f
Pipeline #51109 canceled with stage
import sys
import subprocess
import pkg_resources
required = {'vosk', 'srt'}
installed = {pkg.key for pkg in pkg_resources.working_set}
missing = required - installed
if missing and len(sys.argv) > 1 :
print ("Installing missing pachages: ", missing)
python = sys.executable
subprocess.check_call([python, '-m', 'pip', 'install', *missing], stdout=subprocess.DEVNULL)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment