ModuleNotFoundError: No module named 'sklearn.ensemble._gb_losses'

Hi,
Im trying to run the repostory via streamlit cloud but get the following mistake:

ModuleNotFoundError: No module named 'sklearn.ensemble._gb_losses'

scikit-learn is mentioned in requirements.

Pleas save me :frowning:

Hi @daniel_raz

I tried to find the mentioned method sklearn.ensemble._gb_losses from the scikit-learn API page and there were none mentioned:

Could you check if there’s been a change in the naming or if it was presented in an earlier version of scikit-learn that you’re using?

Hope this helps!

1 Like

Hey, adding:
scikit-learn==1.3.0
instead of just scikit-learn solved it- Thanks!

1 Like

Glad to hear that it works now!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.