Thread: plpython3 package installation problem

plpython3 package installation problem

From
Yi Sun
Date:
Hello,

As we need to use the plpython3u extension, we tried to install the plpython3 package but showed that we needed to install python3-libs, but python36-libs was already installed for patroni usage.

1. Will installing python3-libs affect current python36-libs usage? 
2. If we can do some configuration to let python36-libs work as python3-libs then no need to install   python3-libs? Thanks

# yum localinstall /tmp/postgresql11-plpython3-11.11-1PGDG.rhel7.x86_64.rpm
...
           Requires: python3-libs
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

# yum search python3 | grep libs
python34-libs.x86_64 : Python 3 runtime libraries
python36-libs.x86_64 : Python runtime libraries
shiboken-python36-libs.x86_64 : CPython bindings generator for C++ libraries -
# yum list python36-libs.x86_64
Installed Packages
python36-libs.x86_64                                             3.6.8-1.el7                                                             

Thank you


Re: plpython3 package installation problem

From
Devrim Gündüz
Date:
Hi,

On Tue, 2021-10-26 at 10:33 +0800, Yi Sun wrote:
> Hello,
>
> As we need to use the plpython3u extension, we tried to install the
> plpython3 package but showed that we needed to install python3-libs,
> but python36-libs was already installed for patroni usage.
>
> 1. Will installing python3-libs affect current python36-libs usage?
> 2. If we can do some configuration to let python36-libs work as
> python3-libs then no need to install   python3-libs? Thanks
>
> # yum localinstall /tmp/postgresql11-plpython3-11.11-
> 1PGDG.rhel7.x86_64.rpm
> ...
>            Requires: python3-libs
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
>
> # yum search python3 | grep libs
> python34-libs.x86_64 : Python 3 runtime libraries
> python36-libs.x86_64 : Python runtime libraries
> shiboken-python36-libs.x86_64 : CPython bindings generator for C++
> libraries -
> # yum list python36-libs.x86_64
> Installed Packages
> python36-libs.x86_64
>  3.6.8-1.el7
>

python3-libs is an alias for python36-libs. Please install that package
first.


Regards,


> Thank you

--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachment