Skip to content

Commit

Permalink
[python-package] fix libpath.py (#6192)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyu1994 committed Nov 25, 2023
1 parent cd36ffe commit 2ee3ec8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python-package/lightgbm/libpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ def find_lib_path() -> List[str]:
List of all found library paths to LightGBM.
"""
curr_path = Path(__file__).absolute()
dll_path = [curr_path,
curr_path.parents[1],
dll_path = [curr_path.parents[1],
curr_path.parents[0] / 'bin',
curr_path.parents[0] / 'lib']
if system() in ('Windows', 'Microsoft'):
Expand Down

0 comments on commit 2ee3ec8

Please sign in to comment.