[ https://issues.apache.org/jira/browse/MADLIB-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16113233#comment-16113233 ]
Rahul Iyer commented on MADLIB-1140: ------------------------------------ [~schmirr] I'm unable to reproduce this issue on my PG 9.6 installation. The "builder" module is a py file in the same directory as the "RandomForestPMMLBuilder". Maybe there is a specific package installed on your machine that is colliding with the one here. More details would help us reproduce. > 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 my random forest 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)