Hi, thanks for the info.
But after I have updated the image to 3.7, a new error is seen on the logs
ImportError: No module named flask_mail
2021-08-23 11:44:57,878: File "/var/www/academy_merusikhara_com_wsgi.py", line 16, in <module>
2021-08-23 11:44:57,878: from app_rest_api_enterprise_qa import app as application # noqa
2021-08-23 11:44:57,878:
2021-08-23 11:44:57,878: File "/home/SuryaIOT/enterprise/app_rest_api_enterprise_qa.py", line 12, in <module>
2021-08-23 11:44:57,878: from flask_mail import Mail, Message
and when I try to install flask-mail - it fails
with below error
class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag'
11:45 ~ $
after I do unset PYTHONPATH
the above error is gone... but i still see the same ImportError: No module named flask_mail
on the logs
Could you please check
Thanks,
Surya
11:45 ~ $ pip install Flask-Mail
Traceback (most recent call last):
File "/home/SuryaIOT/.local/bin/pip", line 3, in <module>
import re
File "/usr/local/lib/python3.7/re.py", line 145, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
11:45 ~ $