Can not find python 3.13?

Hi,
I ran the recent upgrade, which upgraded postgresql to 17.
trying to install the plpython3u extension I am getting,

ERROR: could not load library "/usr/lib/postgresql/plpython3.so": libpython3.13.so.1.0: cannot open shared object file: No such file or directory

I presume I need python 3.13 on the system but alas I can not find it. pacman only shows python 3.12

The announcement says it upgraded python to 3.13 but how to install it?

Are you sure your system is up-to-date? Python 3.13 is in all branches:

mbn info python -q | grep -e 'Branch' -e 'Version' -e 'Build Date'
Branch         : archlinux
Version        : 3.13.1-1
Build Date     : Thu 05 Dec 2024 05:05:56 
Branch         : unstable
Version        : 3.13.1-1
Build Date     : Thu 05 Dec 2024 05:05:56 
Branch         : testing
Version        : 3.13.1-1
Build Date     : Thu 05 Dec 2024 05:05:56 
Branch         : stable
Version        : 3.13.1-1
Build Date     : Thu 05 Dec 2024 05:05:56
sudo pacman -Syu python

Yes,

sudo pacman -Syu python
...
warning: python-3.12.7-1 is up to date -- reinstalling

I ran the upgrade from pamac.

Maybe your mirrors are not up-to-date yet - the Stable update was released a couple of hours ago.

Try the following instead to generate a new mirror list & do the system update:

sudo pacman-mirrors --continent && sudo pacman -Syu

Or just wait a bit, if you can. As of 2025-02-04 07:24 UTC, about half of the stable mirrors are out-of-date.

1 Like

Ok thanks, I’ll wait a bit.

Ok, all is back to normal, seems I was just a bit too eager.
Thanks

Well, that was a shorter wait than I expected :grinning:, but I am glad that it worked out for you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.