Commit c04830a8 authored by Guolin Ke's avatar Guolin Ke
Browse files

fix lib path

parent b8d9372e
...@@ -24,6 +24,7 @@ def find_lib_path(): ...@@ -24,6 +24,7 @@ def find_lib_path():
""" """
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__))) curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__)))
dll_path = [curr_path, os.path.join(curr_path, '../../lib/'), dll_path = [curr_path, os.path.join(curr_path, '../../lib/'),
os.path.join(curr_path, '../../'),
os.path.join(curr_path, './lib/'), os.path.join(curr_path, './lib/'),
os.path.join(sys.prefix, 'lightgbm')] os.path.join(sys.prefix, 'lightgbm')]
if os.name == 'nt': if os.name == 'nt':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment