[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?

asked 2 years ago75 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions