pip.main can be found in pip._internal
I was able to utilize it in my project as shown:
from pip._internal import main as pipmain
pipmain(['install', 'scipy'])
However, using pip within your program is strongly discouraged.
An alternative method, such as spoken to in this thread, would be extremely helpful.