qlib icon indicating copy to clipboard operation
qlib copied to clipboard

fixes #1187 error "Please install necessary libs for CatBoostModel."

Open OussCHE opened this issue 2 years ago • 1 comments

Description

When running 'examples/workflow_by_code.ipynb' in jupyter notebook , you get the following misleading error #1187

177905185-57a43596-b180-4c52-8df9-0e88b95640b4

now the message displayed when running the code is "ModuleNotFoundError. CatBoostModel and CatBoostModel are skipped. (optional: maybe installing lightgbm can fix it.)" that is similar to the other non mandatory packages to install.

Motivation and Context

check #

How Has This Been Tested?

  • [ ] Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
  • [ ] If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

Types of changes

  • [ ] Fix bugs
  • [ ] Add new feature
  • [ ] Update documentation

OussCHE avatar Aug 03 '22 19:08 OussCHE

@you-n-g I would appreciate your insight about the tests not running for some versions on macos.

OussCHE avatar Aug 08 '22 09:08 OussCHE

Thanks! It looks great. I think the CI error is fixed in the main branch. Rerunning after merging may fix this error. Welcome to become one of Qlib's contributors

you-n-g avatar Aug 22 '22 09:08 you-n-g