Getting “Error: couldn't get currently installed version for letsencrypt” when trying to renew my certificates

I am getting similar error just runned a cerbot --expand

A certbot update taken place as soon as i run the expand command following upgrade message shows up(given below) in console after this error started coming:

Upgrading certbot-auto 0.10.2 to 0.11.1…
Replacing certbot-auto…
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 11, 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

Error Message :
Error: couldn’t get currently installed version for /root/.local/share/letsencrypt/bin/letsencrypt

My operating system is: Linux AMI

My web server is : nginx

My hosting provider is: AWS