Answers for "install pytho under user library"

7

how to install python libraries

python -m pip install SomePackage
Posted by: Guest on June-11-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

Python Answers by Framework

Browse Popular Code Answers by Language