mport os import subprocess def install(package): subprocess.check_call([os.sys.executable, "-m", "pip", "install", package]) install("transformers")