Unable to install Flask-Mail

拟墨画扇 提交于 2019-12-02 01:42:55

The easiest way to avoid these kind of problems is to create a virtual environment

>>>pip install virtualenv

>>>cd my_project_folder
>>>virtualenv venv

now activate your virtual environment

>>>source venv/bin/activate

now install there pip install Flask-Mail
hopefully now it should work there

if your done working then deactivate it

 >>>deactivate

or

It seems like all the problem is because of certifi version conflict

so try downloading the source from here https://pypi.python.org/pypi/certifi

and install from source

Extract it go into the folder and run this command

sudo python setup.py  install

and it should work

peace

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!