Answers for "how to do pip install on python"

7

how to install pip

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
#Once you do that, enter line 3 inside
python get-pip.py
Posted by: Guest on October-21-2020
2

how to install packages inside thepython script

import sys
import subprocess

# implement pip as a subprocess:
subprocess.check_call([sys.executable, '-m', 'pip', 'install', 
'<packagename>'])
Posted by: Guest on May-05-2020

Code answers related to "how to do pip install on python"

Python Answers by Framework

Browse Popular Code Answers by Language