The attribute error comes from this placeholder class <https://github.com/microsoft/LightGBM/blob/602528315c6d5e4ae1e8f5de106cf56cf5869b16/python-package/lightgbm/compat.py#L50-L53> which is used if one of these sklearn imports <https://github.com/microsoft/LightGBM/blob/602528315c6d5e4ae1e8f5de106cf56cf5869b16/python-package/lightgbm/compat.py#L9-L47> fail. The placeholder class is a bug in LightGBM’s optional dependency handling but that’s only obfuscating the real issue which is figuring out why those sklearn imports fail in the first place. The easiest way to do that would be to edit your local copy of LightGBM, inserting a raise here <https://github.com/microsoft/LightGBM/blob/602528315c6d5e4ae1e8f5de106cf56cf5869b16/python-package/lightgbm/compat.py#L48> then rebuild and post the new error message here.
-- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/39a53a97-f0bc-4f3f-a7b7-0346224e9182n%40googlegroups.com.
