This article mainly explains the reasons and solutions of Python importing packages and reporting errors: AttributeError.
Date: May 10, 2023
Author: Ren Congcong
python3.9.6
Error reporting
The general text error is:
Traceback (most recent call last):
File "E:\路径\文件.py", line 12, in <module>
返回值= 函数(输入值)
AttributeError: module '模块名称' has no attribute '函数名'