Answers for "how to install package in python"

8

python install package from code

import subprocess
import sys

def install(package):
    subprocess.check_call([sys.executable, "-m", "pip", "install", package])
Posted by: Guest on April-08-2020
9

pip install package

pip uninstall <package_name>
Posted by: Guest on September-16-2020

Code answers related to "how to install package in python"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language