You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Frank McQuillan (Jira)" <ji...@apache.org> on 2020/05/29 18:02:00 UTC

[jira] [Resolved] (MADLIB-1436) Attempt to install newest MADLIB with PostgreSQ 12

     [ https://issues.apache.org/jira/browse/MADLIB-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank McQuillan resolved MADLIB-1436.
-------------------------------------
      Assignee: Frank McQuillan
    Resolution: Information Provided

> Attempt to install newest MADLIB with PostgreSQ 12
> --------------------------------------------------
>
>                 Key: MADLIB-1436
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1436
>             Project: Apache MADlib
>          Issue Type: Question
>          Components: Upgrade
>            Reporter: Pranas Baliuka
>            Assignee: Frank McQuillan
>            Priority: Major
>
> {{I thought python2 is not supported anymore. Is it required to have Python2 for MADLIB?}}
>  
> {{/usr/local/madlib/bin/madpack -p postgres -c postgres@localhost:5432/postgres install}}
> {{Password for user postgres: }}
> {{madpack.py: INFO : Detected PostgreSQL version 12.3.}}
> {{madpack.py: INFO : *** Installing MADlib ***}}
> {{madpack.py: INFO : MADlib tools version = 1.17.0 (/usr/local/madlib/Versions/1.17.0/bin/../madpack/madpack.py)}}
> {{madpack.py: INFO : MADlib database version = None (host=localhost:5432, db=postgres, 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):}}
> {{ File "/usr/local/madlib/Versions/1.17.0/bin/../madpack/madpack.py", line 1421, in <module>}}
> {{ main(sys.argv[1:])}}
> {{ File "/usr/local/madlib/Versions/1.17.0/bin/../madpack/madpack.py", line 1391, in main}}
> {{ return_val = create_install_madlib_sqlfile(locals(), args.command[0])}}
> {{ File "/usr/local/madlib/Versions/1.17.0/bin/../madpack/madpack.py", line 1178, in create_install_madlib_sqlfile}}
> {{ is_schema_in_db, madpack_cmd, output_filehandle)}}
> {{ File "/usr/local/madlib/Versions/1.17.0/bin/../madpack/madpack.py", line 1157, in _append_install_madlib_sqlfile}}
> {{ _plpy_check(py_min_ver)}}
> {{ File "/usr/local/madlib/Versions/1.17.0/bin/../madpack/madpack.py", line 402, in _plpy_check}}
> {{ raise Exception}}
> {{Exception}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)