I am getting
could not resolve host :bootstrap.pypa.io
error when trying to install virtualenv
I am trying to come up with a Django project, I have python 3 in my Mac and I need to use virtualenv
for creating a virtual environment, I used pip install virtualenv
to install virtual env but I got an error
Could not find a version that satisfies the requirement virtualenv (from versions: ) No matching distribution found for virtualenv
I found a solution for this in Stack Overflow here which was to update pip using
curl https://bootstrap.pypa.io/get-pip.py | sudo python
but I am getting
could not resolve host :bootstrap.pypa.io
error can some one suggest me what needs to be done to successfully install virtualenv.