You are not logged in.
I updated Python to 3.10 with bulk system update. However, I need Python 3.9 for development purposes (testing and compatibility with an existing program ROOT). How can I install Python 3.9?
$ yay -S python39
-> Could not find all required packages:
python39 (Target)
(which I did earlier with Python 3.5, etc) or
$ sudo pacman -S python39
error: target not found: python39
don't work;
$ pacman -Ss python3
core/python 3.10
...
doesn't show python 3.9.
Last edited by ynikitenko (2021-12-13 12:21:23)
Offline
I also looked at old versions on https://wiki.archlinux.org/title/Python#Old_versions, but 3.9 is missing there.
Offline
Use pyenv which is in the standard packages.
Offline
Thanks for the suggestion. I decided to compile a slightly more recent ROOT version anew with Python 3.10. However, I think that a system package for Python 3.9 would be easier and more coherent with other old Python versions (I wrote to AUR about that, https://aur.archlinux.org/packages/python310).
Offline
Please either use pyenv as recommended above, or use the AUR package python39. This package had been removed after Python 3.9 became the distributed Python version, I've made it available again now that Python 3.10 is the primary version.
Offline
Yes, the AUR package works fine. Many thanks for your work!
Offline