Moved pip install to %install phase to prevent connection issues with pip mirror and keep libs consistent. Shuffled requirements accordingly.