AttributeError:'模块'对象没有属性' Data_SVMIC_Excel'

时间:2017-04-21 22:51:46

标签: python pycharm

为什么我收到此错误?

我想从我的Excel中读取。

Traceback (most recent call last):
  File "C:/Users/npratapa/PycharmProjects/Automation_Script/tests/CYB_SVMIC/Issue_and_renew_policy_CYB_SVMIC.py", line 102, in <module>
    run_issue_and_renew_policy()
  File "C:/Users/npratapa/PycharmProjects/Automation_Script/tests/CYB_SVMIC/Issue_and_renew_policy_CYB_SVMIC.py", line 99, in run_issue_and_renew_policy
    issue_and_renew_policy()
  File "C:/Users/npratapa/PycharmProjects/Automation_Script/tests/CYB_SVMIC/Issue_and_renew_policy_CYB_SVMIC.py", line 28, in issue_and_renew_policy
    p.fill_in_text_fields()
  File "C:\Users\npratapa\PycharmProjects\Automation_Script\pages\PAF_page.py", line 54, in fill_in_text_fields
    x = utilities.Data_SVMIC_Excel()
AttributeError: module 'utilities' has no attribute 'Data_SVMIC_Excel'

0 个答案:

没有答案