I need to install some packages from inside a python script. Looking for something like this:
Does something like this exist?
Offer your help. Be nice!
As per Pip docs using the internal pip api is not recommended, instead just call it from python like you would call any command-line program:
subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'my_package'])