Pruefungskatalog/requirements_installer.py
2022-03-18 13:07:12 +01:00

9 lines
202 B
Python

import sys
import subprocess
# implement pip as a subprocess:
def installer():
subprocess.check_call([sys.executable, '-m', 'pip', 'install',
'mysql-connector-python'])