Apologies for the delay in replying, despite my best efforts I didn't get a chance to try this at work.
The issue I had in accessing the pypi website was resolved once I ran the wget command. Thank you very much. I never predicted I'd get such satisfaction out of lighting up an LED