Call pip.main() directly instead of shelling out