[Python] Snowflake/ Snowpark "import sklearn" results in "no module found."

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

  1. Stack

    Stack Membro Participativo

    I'm using a python worksheet in Snowflake.

    When I got to information_schema.packages, scikit-learn is clearly there and installed.

    But when I reference 'sklearn' (don't really understand where this full-name vs. shortened name comes from, but sklearn is obviously the reference to scikit-learn package). It says module not found.

    My understanding is that it's pre-installed with Snowpark. So what's the deal? What am I doing wrong?

    Continue reading...

Compartilhe esta Página