Fixes typo "candicate" (#1508)

This commit is contained in:
Preston Parry 2016-08-26 16:00:27 -05:00 committed by Tianqi Chen
parent cf4951b0b0
commit 0627213544

View File

@ -42,7 +42,7 @@ def find_lib_path():
# From github issues, most of installation errors come from machines w/o compilers
if len(lib_path) == 0 and not os.environ.get('XGBOOST_BUILD_DOC', False):
raise XGBoostLibraryNotFound(
'Cannot find XGBoost Libarary in the candicate path, ' +
'Cannot find XGBoost Libarary in the candidate path, ' +
'did you install compilers and run build.sh in root path?\n'
'List of candidates:\n' + ('\n'.join(dll_path)))
return lib_path