0

How to install packages in solo learning ?can you explain anyone ?

I want to install sume python packages but Not working packages installation in sololearn Can explain any one installation .

18th Dec 2020, 9:15 AM
Kumar
Kumar - avatar
2 Respuestas
+ 4
U can use this import subprocess import sys def install(package): subprocess.run([sys.executable, "-m", "pip", "-q", "install", package]) subprocess.run([sys.executable, "-m", "pip", "-q", "install", "--upgrade", "pip"]) install('any module name')
18th Dec 2020, 9:17 AM
Sâñtôsh
Sâñtôsh - avatar
+ 1
Ok I will try it
18th Dec 2020, 9:18 AM
Kumar
Kumar - avatar