flask-mail 还是Flask-Mail ?
https://www.w3cschool.cn/flas...教程中写的是
pip install Flask-Mail
这里的教程写的是 https://zhuanlan.zhihu.com/p/...
pip install flask-mail
请问,到底因该是什么呢?
回复
1个回答

test
2024-07-13
根据PEP 426
https://peps.python.org/pep-0...,Name模块
All comparisons of distribution names MUST be case insensitive,
and MUST consider hyphens and underscores to be equivalent.
可知,名称必须是大小写不敏感
的。
也就是,你这俩Flask-Mail
、flask-mail
是等效的。都是指https://pypi.org/project/Flas... 这个模块。
回复

适合作为回答的
- 经过验证的有效解决办法
- 自己的经验指引,对解决问题有帮助
- 遵循 Markdown 语法排版,代码语义正确
不该作为回答的
- 询问内容细节或回复楼层
- 与题目无关的内容
- “赞”“顶”“同问”“看手册”“解决了没”等毫无意义的内容