qlib: ModuleNotFoundError: No module named 'qlib.config'
Both on Windows and Linux, when I run the command: python run_all_model.py --models=lightgbm, I got the following error message:
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'qlib.config'
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 22 (1 by maintainers)
If I run the file: workflow_by_code.py on windows 10, I got the following error message:
Hi @ardeal , if you want to run the workflow with
qrunwith a different data path, it is recommended to change theprovider_uriin the yaml file such asworkflow_config_lightgbm_Alpha158.yamlmanully for now.Another option would be running the workflow with
workflow_by_code.pyunder theexamplesfolder, where theprovider_urishould be modified accordingly as well.We are sorry that
Qlibis not supporting multi-platform in a decent way. We will try to make it more convenient for users to run models directly on different OS in the near future.Thanks.