selfteaching / selfteaching/selfteaching-python-camp
Day10 安装jieba第三方库成功后,在VS重新打开后,重新运行程序,程序报错:No module named 'jieba'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
day10安装jieba第三方库成功后,运行程序,可以正常运作。
在调用tang300.json时,不能读取文件位置,按照issues上的提示,用VS找到自己的用户名位置,再打开。此时再运行程序,程序报错:No module named 'jieba'。意思是:没有名为“jieba”的模块
这时退出VS,再进入VS,再运行程序,jieba运行正常,但是tang300.json的位置找不到。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Day10 program in VS after reopening it, using the reported jieba import failure and the tang300.json path problem as the starting points. Check the Python environment and file location used by the program; it is done when jieba imports consistently and tang300.json can be read after restarting VS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100