dmlc / dmlc/xgboost

[Python] Make lib paths configurable

Open
#9,376 1 comment 1 reaction 0 assignees View on GitHub
feature-request
Dominant language
C++
Stars
28.8k
Forks
8.9k
Avg merge
1d 12h
Merged PRs (30d)
54

Description

Currently, we use heuristics to determine the path of libxgboost.so: https://github.com/dmlc/xgboost/blob/master/python-package/xgboost/libpath.py. This heuristics may fail in edge cases, e.g. when `sys.base_prefix` does not refer to a suitable system directory.

We should allow users to specify a custom directory for libxgboost.so. It can be done via an environment variable or a configuration file.

Related: #9349, #6706

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.