On Centos 6.* IF you have installed Python 2.7 via source and then pip virtualenv, then when installing certbot, certbot will automatically install or update Python 2.6 via yum, and LATER realise that "oh, 2.7 exists, i'll use that one".
Can this dependency check be moved to before installing Python 2.6 via the yum list installed check, rather than after it's installed and it's time to "use" python?
@mitchmenkom - I had similar issue as you since the packagenames differ, try this one:
cd /root && wget http://python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz && tar xf Python-2.7.6.tar.xz && cd Python-2.7.6 && ./configure --prefix=/usr/local --enable-unicode=ucs4 --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" && make && make altinstall
^^ this whole step can be skipped if you're sure you already have Python2.7 installed.
wget https://bootstrap.pypa.io/ez_setup.py -O - | python2.7
pip2.7 install virtualenv
however, --apache command line will not work, you'll have to do cert generation with --webroot in style of:
certbot-auto certonly --webroot --expand --manual-public-ip-logging-ok --non-interactive --agree-tos --text -w /var/www/letsencrypt -d your.domain.tld