Python 官方文档:入门教程 => 点击学习
Traceback (most recent call last): File "C:/Users/XXX/PyCharmProjects/pythonProject2/tools/email.py
Traceback (most recent call last): File "C:/Users/XXX/PyCharmProjects/pythonProject2/tools/email.py", line 1, in <module> from smtplib import SMTP_SSL File "E:\Program Files\ProgramData\python389\lib\smtplib.py", line 47, in <module> import email.utils File "C:\Users\XXX\PycharmProjects\PythonProject2\tools\email.py", line 1, in <module> from smtplib import SMTP_SSLImportError: cannot import name 'SMTP_SSL' from partially initialized module 'smtplib' (most likely due to a circular import) (E:\Program Files\ProgramData\Python389\lib\smtplib.py)Process finished with exit code 1
当前文件名与包文件名重名,修改文件名即可
来源地址:https://blog.csdn.net/weixin_44575660/article/details/124374966
--结束END--
本文标题: Traceback (most recent call last): File “C:/Users/user/PycharmProjects/pythonProject2/tools/email.p
本文链接: https://lsjlt.com/news/406989.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0