Please fill out the fields below so we can help you better.
My domain is:
I ran this command:
./certbot-auto renew
It produced this output:
Creating virtual environment…
Installing Python packages…
Installation succeeded.
Traceback (most recent call last):
File “/root/.local/share/letsencrypt/bin/letsencrypt”, line 7, in
from certbot.main import main
File “/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot/main.py”, line 12, in
import zope.component
File “/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/zope/component/init.py”, line 16, in
from zope.interface import Interface
ImportError: No module named interface
My operating system is (include version):
NAME="Amazon Linux AMI"
VERSION="2016.03"
ID="amzn"
ID_LIKE=“rhel fedora”
My web server is (include version):
Node.js App.
So far my investigations…
which recommend the script:-
# pip install pip --upgrade
# pip install virtualenv --upgrade
**# virtualenv -p /usr/bin/python27 venv27 **
**# . venv27/bin/activate **
# git clone https://github.com/letsencrypt/letsencrypt
# cd letsencrypt
# ./letsencrypt-auto certonly --debug --standalone -d
or possibly just…
# pip install --upgrade pip
# pip install virtualenv --upgrade
# ./certbot-auto renew
However #pip install --upgrade pip returns the error:-
File “/usr/bin/pip”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3020, in
working_set = WorkingSet._build_master()
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 616, in _build_master
return cls._build_from_requirements(requires)
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 629, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 807, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pip==6.1.1
(The message varies depending on sudo or sudo -i, or sudo -s)