selfteaching / selfteaching/selfteaching-python-camp

Day07 调用函数的时候遇到module has no attribute

Open
#610 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
151
Forks
875
PR merge metrics
No merged PRs in 30d

Description

image
遇到这个错误纠结了半天,反复检查我调用的文件语法错误,结果都OK,百思不得其解

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Day07 lesson or example referenced in the issue and inspect the attached screenshot, then reproduce the reported “module has no attribute” error. Trace the module call and verify the affected example; done means the cause and the appropriate correction are identified and confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.