Upgrade python 2.7.5


#1

I was just renewing certificates and noticed that there was an upgrade from .19 to .20 going on. Also got a message that indicated that python was upgrading, but that never happened. Right now python -v gives me 2.7.5. How do I point LE to the newer version if and when I upgrade python?


#2

Did you install Certbot from your OS package manager or do you use certbot-auto?

In either case:

  • From OS: Python dependency is managed automatically by your package manager, the python-certbot package isn’t going to depend on a version of Python that the distro doesn’t have access to
  • For certbot-auto: I believe it manages its own version of Python via virtualenv (/opt/eff.org/certbot/venv)

#3

So meekly I tell you that I am using Centos CWP GUI. When I forced renew from the gui I got this message:

Upgrading certbot-auto 0.19.0 to 0.20.0…
Replacing certbot-auto…
Creating virtual environment…
Installing Python packages…

of course when I go to shell and type certbot i get a response that says cmd not found. I know I know what you are going to say.


#4

dir listing does have shortcuts to /opt/eff.org/certbot/venv


#5

Because you are using certbot-auto, you do not need to worry about your system Python version - it just needs to be version 2.6 or newer. Everything else is taken care of for you.

To locate certbot-auto on your system, perhaps you could try:

find / -name certbot-auto 2>/dev/null

#6

great, i am doing grep certbot-auto at this time. I will try find also ty


#7

result

/opt/cwp_letsencrypt/certbot-auto

The last time I renewed I had a problem also. Turns out, LE servers were down. Maybe same applies today.


#8

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