"Segmentation fault" whenever I try to install a python package

I’ve tried to install python packages like numpy in the terminal using pip install numpy but all I get back is Segmentation fault and nothing else.

Are you using lab instance? network access to shared terminal is not allowed due to security reasons.