Hi,
I need PL\Python installed on Greenplum cluster to do analytics with MADlib
sudo
./configure --prefix=/usr/local/gpdb --without-readline --with-python
with-python option is described as "build Python modules (PL/Python)" in configuration and I expect to have the language installed somewhere to the place declared in pg_pltemplate as plpythonu entry, i.e. in $libdir/plpython folder.
When I try to define new procedural language with "CREATE LANGUAGE plpythonu;" command, I get an error.
Actually
- $libdir is not defined in greenplum_path.sh or elsewhere
- plpython folder is absent all across $GPHOME folder
- Python2.7 is installed on the host in /usr/lib64/python2.7/
- Greenplum has its parts on python installed as well, in $GPHOME/lib/python/.
Piece of configuration output that indicates that python is going to be built, on my mind
Despite all of that, I can't define PL/Python in standard way.
The Greenplum Database PL/Python extension is installed by default with Greenplum Database. Greenplum Database installs a version of Python and PL/Python.
This is location of the Python installation that Greenplum Database uses:
There is no $GPHOME/ext folder created on my hosts during installation, not saying the documentation contradicts to $libdir/plpython path found in pg_pltemplate.
Are there any ideas how to get PL\Python installed on Greenplum cluster, from scratch or as an upgrade?
Regards,
Ruslan