Answers for "install all libs of a program python"

2

how to install packages inside thepython script

import sys
import subprocess

# implement pip as a subprocess:
subprocess.check_call([sys.executable, '-m', 'pip', 'install', 
'<packagename>'])
Posted by: Guest on May-05-2020
0

pip upgrade python

pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}
Posted by: Guest on October-06-2020

Code answers related to "install all libs of a program python"

Python Answers by Framework

Browse Popular Code Answers by Language