Skip to content

For Python 3.13.2 experimental free-threading version, RuntimeWarning #6871

@lizhuoq

Description

@lizhuoq

import lightgbm
<frozen importlib._bootstrap>:488: RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'scipy.linalg._linalg_pythran', which has not declared that it can run safely without the GIL. To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.
When I import lightgbm, recived following warning. LightGBM verison is 4.6.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions