AttributeError where execute qrun examples/.../xxx.yaml.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 48.7k
- Forks
- 7.7k
- PR merge metrics
- No merged PRs in 30d
Description
❓ Questions and Help
Hello, I installed qlib using pip with miniconda in ubuntu.All is well but when I executed "qrun examples/.../xxx.yaml".There is AttributeError:
"safe_load()" has been removed, use
yaml = YAML(typ='safe', pure=True)
yaml.load(...)
instead of file "/home/***/lib/python3.8/site-packages/qlib/workflow/cli.py", line 71
config = yaml.safe_load(fp)
Would you tell me what should I do ?
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
Read qlib/workflow/cli.py around line 71 and reproduce the failure with qrun examples/.../xxx.yaml. Check the YAML-loading API indicated by the traceback; done means qrun accepts the example without raising the AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100