“Instale os pacotes Python em Python Shell” Respostas de código

Instale os pacotes Python em Python Shell

import subprocess
import sys

def install(package):
    subprocess.check_call([sys.executable, "-m", "pip", "install", package])
Pleasant Panda

Como instalar bibliotecas Python

python -m pip install SomePackage
Sore Seal

Respostas semelhantes a “Instale os pacotes Python em Python Shell”

Perguntas semelhantes a “Instale os pacotes Python em Python Shell”

Mais respostas relacionadas para “Instale os pacotes Python em Python Shell” em Python

Procure respostas de código populares por idioma

Procurar outros idiomas de código