[ 
https://issues.apache.org/jira/browse/MADLIB-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17551771#comment-17551771
 ] 

Orhan Kislal commented on MADLIB-1500:
--------------------------------------

Hi [~hiseth] ,

Could you check the following folder: `$GPHOME/lib/postgresql`. If your gpdb 
compilation worked as expected, you should see `plpython2.so` file in there 
with the other .so files. If not, I would advise you to check the configure 
output for your gpdb compilation steps. 

You can check the python availability by creating a new database and running 
`create language plpythonu;` as well.

Thanks

> install madlib on greenplum could not access file "$libdir/plpython2"
> ---------------------------------------------------------------------
>
>                 Key: MADLIB-1500
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1500
>             Project: Apache MADlib
>          Issue Type: Question
>            Reporter: seth.qiang
>            Priority: Major
>
> hi, everyone  i try to install madlib on greenplum, but  centos7 it's ok
> system: ubuntu20.04
> madlib: 1.18.0
> database: greenplum 6.18.2
> {code:java}
> madpack.py: INFO : Detected Greenplum DB version 6.18.2.
> madpack.py: INFO : *** Installing MADlib ***
> madpack.py: INFO : MADlib tools version    = 1.18.0 
> (/home/test/Desktop/gpdb-6.18.2.1-linux/gpdb/src/bin/../madpack/madpack.py)
> madpack.py: INFO : MADlib database version = None (host=localhost:15432, 
> db=test, schema=madlib)
> madpack.py: INFO : Testing PL/Python environment...
> madpack.py: INFO : > Creating language PL/Python...
> SQL command failed: 
> SQL: CREATE LANGUAGE plpythonu; 
> ERROR:  could not access file "$libdir/plpython2": No such file or directory
> : ERROR : False
> madpack.py: ERROR : Cannot create language plpythonu. Please check if you
>                 have configured and installed portid (your platform) with
>                 `--with-python` option. Stopping installation...
> Traceback (most recent call last): {code}
> I find this article : 
> [https://cwiki.apache.org/confluence/display/MADLIB/Installation+Guide]
> my gpdb used --python options



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to