[Python UDF] Failed to import library after CREATE LIBRARY

0

I want to write a Python UDF that uses scikit-learn. Here's the command that I'm running.

CREATE OR REPLACE LIBRARY scikit_learn LANGUAGE plpythonu FROM '...'

I've uploaded the a 2.7 Python package in a .zip file to http://file.io.

Afterwards, I'm trying to run a function that uses sklearn but I'm getting: ImportError: No module named sklearn.covariance. Please look at svl_udf_log for more information.

Why does it fail to import even though it downloaded the package?

질문됨 2년 전75회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠