I dont think python 2.7 comes with pip. And you cant install twisted for newer versions of python

idk what to do then?
Pip is by default included since python 2.7.9+.
On earlier versions you have to install it with
apt-get install python-pip in linux and through running
get-pip.py on windows.
Regarding your problem installing pip:
You also need OpenSSL installed on your system. Download and install it and check the OpenSSL version used by python via:
import ssl
print(ssl.OPENSSL_VERSION)
inside the python interpreter. What is the output ?