1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] scikit-learn 1.1.3. import cannot import name 'METRIC_MAPPING64' in python

Discussão em 'Python' iniciado por Stack, Setembro 16, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to import linear_model from scikit-learn into my python code in vscode and get an unexpected error message.

    import sklearn
    from sklearn import linear_model


    the error:

    cannot import name 'METRIC_MAPPING64' from 'sklearn.metrics._dist_metrics'


    I am not trying to import these metrics, how to solve this?

    The scikit-learn version used is 1.1.3.

    Continue reading...

Compartilhe esta Página