EDIT: The computer in question was a client machine with restrictions on what software could be installed. I'm unsure if that may have been a cause of the issue or if the client's IT department gave the machine a corrupted version of pip. The recommended answers below probably would have worked but were blocked by the company's IT department and required admin login to do. I have since left that project and hope to avoid similar situations.
I'm attempting to install a WHL file
While attempting to run:
import pip
my_path = <a path to the WHL file>
pip.main(['install', my_path])
I received an Attribute error:
'module' object has no attribute 'main'
I ran help(pip) and
__main__
was listed as a package content.
I'm running Python 3.4 in the console.