Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python install module from script

import subprocess
import sys

def install(package):
    subprocess.check_call([sys.executable, "-m", "pip", "install", package])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #install #module #script
ADD COMMENT
Topic
Name
9+3 =