As someone already suggested, you should not have:
sys.path = ['/usr/lib/python2.7', '/usr/local/lib/python2.7']
This is overriding sys.path in its entirety. One of the directories you have
lost is where the C extension modules, including the time module, are located.
> On 1 Apr 2019, at 11:21
Hello,
I am new to this domain, I have a flask application that is serving through
Apache/mod_wsgi and running on a Docker container which is running on
AWS-EC2 Ubuntu 16.04 server instance. I get an error stating "ImportError:
No module named time" when I start the server. I have given all