qlib
qlib copied to clipboard
AttributeError where execute qrun examples/.../xxx.yaml.
❓ 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 ?
I think that lowering your ruamel.yaml version might solve the problem.
Ref: https://github.com/microsoft/qlib/blob/main/setup.py#L77