web.py/demo_toolbox.py 提示 ModuleNotFoundError: No module named 'models.encoder'
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
**web.py/demo_toolbox.py 提示 ModuleNotFoundError: No module named 'models.encoder'**
可以启动 web.py ,但提示“ ModuleNotFoundError: No module named 'models.encoder' ”
若试图启动 demo_toolbox.py ,则会提示“ ModuleNotFoundError: No module named 'models.encoder' ”
**Env & To Reproduce[复现与环境]**
Windows 10 22H2
Python 3.9.8
pip 21.2.4
使用了 miven 提供的社区模型
**Screenshots[截图(如有)]**
启动 web.py 时:

试图启动 demo_toolbox.py 时:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running web.py and demo_toolbox.py in the reported Windows 10 and Python 3.9.8 environment, then inspect the imports related to models.encoder. Done means both entry points start without the reported ModuleNotFoundError, with the community model setup accounted for.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100