Feb-16-2022, 08:55 PM
I don't use Windows, but I think a more robust way to write the subprocess call is
import sys subprocess.call([sys.executable, '-m', 'pip', 'install', '--upgrade', 'translators'])