jackfrued / jackfrued/Python-100-Days

Day11/json1.py程序问题

Open
#426 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
187k
Forks
55.8k
PR merge metrics
No merged PRs in 30d

Description

在程序中引用包的时候import csv2,报错:

ModuleNotFoundError: No module named 'csv2'

同时在网上也没有找到相关的包,是不是作者写错了.但是改成import csv,又会报错:

AttributeError: module 'csv' has no attribute 'Teacher'

请问有人知道怎么回事吗?

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

Open Day11/json1.py and inspect the import and Teacher reference mentioned in the report. Reproduce the ModuleNotFoundError and AttributeError in the example environment, then verify that the example runs with the intended module and demonstrates the expected Teacher behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.