plpython3 package installation problem

Started by Yi Sunover 4 years ago2 messagesgeneral
Jump to latest
#1Yi Sun
yinan81@gmail.com

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

#2Devrim GÜNDÜZ
devrim@gunduz.org
In reply to: Yi Sun (#1)
Re: plpython3 package installation problem

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