Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
c73a21b3
Unverified
Commit
c73a21b3
authored
Jul 28, 2025
by
gmhewett
Committed by
GitHub
Jul 28, 2025
Browse files
[python-package] Follow symlinks to lib_lightgbm.so in library-loading (#6977)
parent
b7ceb3fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
python-package/lightgbm/__init__.py
python-package/lightgbm/__init__.py
+1
-1
python-package/lightgbm/libpath.py
python-package/lightgbm/libpath.py
+1
-1
No files found.
python-package/lightgbm/__init__.py
View file @
c73a21b3
...
...
@@ -26,7 +26,7 @@ except ImportError:
pass
_version_path
=
Path
(
__file__
).
ab
sol
ut
e
().
parent
/
"VERSION.txt"
_version_path
=
Path
(
__file__
).
re
sol
v
e
().
parent
/
"VERSION.txt"
if
_version_path
.
is_file
():
__version__
=
_version_path
.
read_text
(
encoding
=
"utf-8"
).
strip
()
...
...
python-package/lightgbm/libpath.py
View file @
c73a21b3
...
...
@@ -18,7 +18,7 @@ def _find_lib_path() -> List[str]:
lib_path: list of str
List of all found library paths to LightGBM.
"""
curr_path
=
Path
(
__file__
).
ab
sol
ut
e
()
curr_path
=
Path
(
__file__
).
re
sol
v
e
()
dll_path
=
[
curr_path
.
parents
[
1
],
curr_path
.
parents
[
0
]
/
"bin"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment