Answers for "python3 setup.py install dependencies"

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
-1

how to install dependencies python

# Use PowerShell, Bash, CMD, etc.
pip install foo-pkg

# Automatically installs dependencies!
Posted by: Guest on January-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language