[
https://issues.apache.org/jira/browse/MADLIB-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16090001#comment-16090001
]
schmirr commented on MADLIB-1140:
---------------------------------
I've tried to install "builder" with pip, but now I get the next error :
"ImportError: cannot import name RegressionPMMLBuilder" and I'm not able to
figure out whats missing...
I tried to install sklearn-pmml via pip, but the error remains
{code}
ERROR: ImportError: cannot import name RegressionPMMLBuilder
CONTEXT: Traceback (most recent call last):
PL/Python function "pmml", line 7, in <module>
from pmml import table_to_pmml
PL/Python function "pmml", line 10, in <module>
PL/Python function "pmml"
********** Error **********
ERROR: ImportError: cannot import name RegressionPMMLBuilder
SQL state: 38000
Context: Traceback (most recent call last):
PL/Python function "pmml", line 7, in <module>
from pmml import table_to_pmml
PL/Python function "pmml", line 10, in <module>
PL/Python function "pmml"
{code}
> Error in pmml function : ImportError: No module named builder
> --------------------------------------------------------------
>
> Key: MADLIB-1140
> URL: https://issues.apache.org/jira/browse/MADLIB-1140
> Project: Apache MADlib
> Issue Type: Bug
> Reporter: schmirr
>
> I'm using madlib 1.11 on PostgreSQL 9.6.3 on x86_64
> creating models is working, but when trying to export to pmml, I get
> following error :
> {code}
> ERROR: ImportError: No module named builder
> CONTEXT: Traceback (most recent call last):
> PL/Python function "pmml", line 7, in <module>
> from pmml import table_to_pmml
> PL/Python function "pmml", line 10, in <module>
> PL/Python function "pmml"
> ********** Error **********
> ERROR: ImportError: No module named builder
> SQL state: 38000
> Context: Traceback (most recent call last):
> PL/Python function "pmml", line 7, in <module>
> from pmml import table_to_pmml
> PL/Python function "pmml", line 10, in <module>
> PL/Python function "pmml"
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)