# Certbot has problem setting up the virtual environment

**URL:** <https://community.letsencrypt.org/t/certbot-has-problem-setting-up-the-virtual-environment/83678>\
**Category:** Help\
**Created:** [January 23, 2019, 12:08am UTC](https://community.letsencrypt.org/t/certbot-has-problem-setting-up-the-virtual-environment/83678 "2019-01-23T00:08:57Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![erica](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/erica/32/8648_2.png) [@erica](https://community.letsencrypt.org/u/erica)\
**Post date:** [January 23, 2019, 10:18pm UTC](https://community.letsencrypt.org/t/certbot-has-problem-setting-up-the-virtual-environment/83678/21 "2019-01-23T22:18:56Z")

</div>

It might automatically be fixed now by pip’s release: [https://github.com/pypa/pip/pull/6185](https://github.com/pypa/pip/pull/6185), which includes [https://github.com/pypa/pip/pull/6171](https://github.com/pypa/pip/pull/6171)

We also plan to fix Certbot so that it won’t be affected should this happen again: [https://github.com/certbot/certbot/issues/6685](https://github.com/certbot/certbot/issues/6685)

So if you manually make the change now, future versions of Certbot will automatically incorporate the change, on our end.

---

<div class="post-metadata">

**Author:** ![Mastrom10](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Mastrom10](https://community.letsencrypt.org/u/Mastrom10)\
**Post date:** [January 24, 2019, 1:34am UTC](https://community.letsencrypt.org/t/certbot-has-problem-setting-up-the-virtual-environment/83678/22 "2019-01-24T01:34:22Z")

</div>

Same error HERE!!!

and fixed with erica’s solution

ty!!!

---

<div class="post-metadata">

**Author:** ![geoff.wild](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/geoff.wild/32/29283_2.png) [@geoff.wild](https://community.letsencrypt.org/u/geoff.wild)\
**Post date:** [January 24, 2019, 5:58pm UTC](https://community.letsencrypt.org/t/certbot-has-problem-setting-up-the-virtual-environment/83678/23 "2019-01-24T17:58:02Z")

</div>

New install, Ubuntu 16.04 on AWS.  
Installed letsencrypt by:

git clone [https://github.com/letsencrypt/letsencrypt](https://github.com/letsencrypt/letsencrypt) /opt/letsencrypt

I added the “–no-download” fix to those 2 lines, still fails

Certbot has problem setting up the virtual environment.

We were not be able to guess the right solution from your pip  
output.

---

<div class="post-metadata">

**Author:** ![geoff.wild](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/geoff.wild/32/29283_2.png) [@geoff.wild](https://community.letsencrypt.org/u/geoff.wild)\
**Post date:** [January 24, 2019, 11:13pm UTC](https://community.letsencrypt.org/t/certbot-has-problem-setting-up-the-virtual-environment/83678/24 "2019-01-24T23:13:07Z")

</div>

Suddenly, it worked!

Creating virtual environment…  
Installing Python packages…  
Installation succeeded.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [February 23, 2019, 11:20pm UTC](https://community.letsencrypt.org/t/certbot-has-problem-setting-up-the-virtual-environment/83678/25 "2019-02-23T23:20:46Z")

</div>

Closed on February 23, 2019, 11:20pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[Previous page](https://community.letsencrypt.org/t/certbot-has-problem-setting-up-the-virtual-environment/83678.md?page=1)
