# Python requests library can't make HTTPS connections (was: Apache certbot error)

**URL:** <https://community.letsencrypt.org/t/python-requests-library-cant-make-https-connections-was-apache-certbot-error/31401>\
**Category:** Help\
**Created:** [April 5, 2017, 7:58am UTC](https://community.letsencrypt.org/t/python-requests-library-cant-make-https-connections-was-apache-certbot-error/31401 "2017-04-05T07:58:28Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![ITM](https://avatars.discourse-cdn.com/v4/letter/i/da6949/32.png) [@ITM](https://community.letsencrypt.org/u/ITM)\
**Post date:** [April 7, 2017, 7:14am UTC](https://community.letsencrypt.org/t/python-requests-library-cant-make-https-connections-was-apache-certbot-error/31401/13 "2017-04-07T07:14:47Z")

</div>

I tried to follow your suggestion from the second article, but it doesn’t work:

**(venv) root@xxx:/home/user/venv# pip install --upgrade setuptools**  
Requirement already up-to-date: setuptools in ./lib/python2.7/site-packages  
**(venv) root@xxx:/home/user/venv# pip install certbot==0.11.1**  
Collecting certbot==0.11.1  
Could not find a version that satisfies the requirement certbot==0.11.1 (from versions: )  
No matching distribution found for certbot==0.11.1  
**(venv) root@xxx:/home/user/venv# pip install certbot==0.12.0**  
Collecting certbot==0.12.0  
Could not find a version that satisfies the requirement certbot==0.12.0 (from versions: )  
No matching distribution found for certbot==0.12.0  
**(venv) root@xxx:/home/user/venv# pip install certbot==0.13.0**  
Collecting certbot==0.13.0  
Could not find a version that satisfies the requirement certbot==0.13.0 (from versions: )  
No matching distribution found for certbot==0.13.0

**(venv) root@xxx:/home/user/venv# pip install -vvv certbot==0.11.1**  
Converted retries value: Retry(total=5, connect=None, read=None, redirect=None) -\> Retry(total=Retry(total=5, connect=None, read=None, redirect=None), connect=None, read=None, redirect=None)  
Converted retries value: Retry(total=5, connect=None, read=None, redirect=None) -\> Retry(total=Retry(total=5, connect=None, read=None, redirect=None), connect=None, read=None, redirect=None)  
Collecting certbot==0.11.1  
1 location(s) to search for versions of certbot:

- [https://pypi.python.org/simple/certbot/](https://pypi.python.org/simple/certbot/)  
Getting page [https://pypi.python.org/simple/certbot/](https://pypi.python.org/simple/certbot/)  
Looking up “[https://pypi.python.org/simple/certbot/](https://pypi.python.org/simple/certbot/)” in the cache  
No cache entry available  
Starting new HTTPS connection (1): [pypi.python.org](http://pypi.python.org)  
Could not fetch URL [https://pypi.python.org/simple/certbot/:](https://pypi.python.org/simple/certbot/:) connection error: [Errno 2] No such file or directory - skipping  
Could not find a version that satisfies the requirement certbot==0.11.1 (from versions: )  
Cleaning up…  
No matching distribution found for certbot==0.11.1

---

_[View the full topic](https://community.letsencrypt.org/t/python-requests-library-cant-make-https-connections-was-apache-certbot-error/31401)._
