Add --allow-external option to pip command to fix travis error.