Problem
The root requirements.txt is missing two packages that are imported unconditionally in core/common/:
| Package |
Import Location |
Import Statement |
colorlog |
core/common/log.py (line 18) |
import colorlog |
PyYAML |
core/common/utils.py (line 24) |
import yaml |
Both imports are at module level with no try/except guard. Following the install guide, a user runs pip install -r requirements.txt and then pip install -e .. Since colorlog and PyYAML are absent from requirements.txt, any subsequent ianvs CLI invocation crashes with ModuleNotFoundError unless the user happens to have these packages installed from another source.
Additional Cleanup
The existing entries in requirements.txt were unsorted. This change also alphabetically sorts all entries for consistency and easier maintenance.
Changes
- Add
colorlog to requirements.txt
- Add
PyYAML to requirements.txt
- Sort entries alphabetically
Problem
The root
requirements.txtis missing two packages that are imported unconditionally incore/common/:colorlogcore/common/log.py(line 18)import colorlogPyYAMLcore/common/utils.py(line 24)import yamlBoth imports are at module level with no
try/exceptguard. Following the install guide, a user runspip install -r requirements.txtand thenpip install -e .. SincecolorlogandPyYAMLare absent fromrequirements.txt, any subsequentianvsCLI invocation crashes withModuleNotFoundErrorunless the user happens to have these packages installed from another source.Additional Cleanup
The existing entries in
requirements.txtwere unsorted. This change also alphabetically sorts all entries for consistency and easier maintenance.Changes
colorlogtorequirements.txtPyYAMLtorequirements.txt