Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError from config file of qlib #16

Open
plpycoin opened this issue Jul 8, 2022 · 1 comment
Open

KeyError from config file of qlib #16

plpycoin opened this issue Jul 8, 2022 · 1 comment

Comments

@plpycoin
Copy link
Contributor

plpycoin commented Jul 8, 2022

There's no default key in _default_config struction:

Traceback (most recent call last):
File "main.py", line 64, in
init(config)
File "/code/qlib-server/qlib_server/config.py", line 127, in init
redis_host=C["redis_host"],
File "/opt/conda/lib/python3.7/site-packages/qlib/init.py", line 59, in init
if C["auto_mount"]:
File "/opt/conda/lib/python3.7/site-packages/qlib/config.py", line 37, in getitem
return self.dict["_config"][key]
KeyError: 'auto_mount'

@Mandy007-cu
Copy link

Make sure that the provider_uri path exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants