Unable to renew/install upgrade to certbot

The OS is Debian Linux 7 (I am going to guess this is the problem?)
Can Certbot be ran without upgrading?

Upgrading certbot-auto 0.30.2 to 0.34.0…
Replacing certbot-auto…
Creating virtual environment…
Installing Python packages…
/opt/eff.org/certbot/venv/bin/python: No module named pip.main; ‘pip’ is a package and cannot be directly executed
Traceback (most recent call last):
File “/tmp/tmp.7qPieqNG9h/pipstrap.py”, line 177, in
File “/tmp/tmp.7qPieqNG9h/pipstrap.py”, line 149, in main
pip_version = StrictVersion(check_output([python, ‘-m’, ‘pip’, ‘–version’])
File “/usr/lib/python2.7/subprocess.py”, line 544, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command ‘[’/opt/eff.org/certbot/venv/bin/python’, ‘-m’, ‘pip’, ‘–version’]’ returned non-zero exit status 1

Hi @alento,

You can run certbot-auto with the --no-self-upgrade option. We would recommend that you upgrade to a supported OS version as soon as possible.

Hi @schoen Tried that but it still insists upon upgrading.


My only thought is to try it without the sudo (maybe whether you explicitly sudo or allow Certbot to do so for you will affect where the virtual environment is placed).

Thanks … I am just going for manual creating with https://gethttpsforfree.com.

In the meantime, hopefully the sys admin will upgrade. I won’t hold my breath though.

Thanks for your help as always! :slight_smile:

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