You are not logged in.

#1 2021-10-05 07:15:05

archelvetic
Member
Registered: 2017-10-26
Posts: 45

How to install a most specific version of python?

In order to reproduce a python bug running on a raspberry with python 3.7.3 installed, I need to install it on my local machine as well.

Yet I'm only able to install

yay python37

while not finding any package for 3.7.3.

Should I engage in further search of a package or go down the road of installing/packaging 3.7.3 myself?

Similar but not equal to https://bbs.archlinux.org/viewtopic.php?id=241711

https://www.python.org/downloads/release/python-373/

Offline

#2 2021-10-05 07:46:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,262

Re: How to install a most specific version of python?

You're "only" able to install that because it's a random AUR package that somebody created.
You could install that package, edit the PKGBUILD and adjust the pkgver, but will also have to alter the relevand sha512sum

nb. though, that it backports some patches and so might be distro you're using on the raspberry (ie. adding completely different patches)
Not sure what you're trying to reproduce in particular, you may want to run the actual raspi distro on an ARM emulating VM?

Offline

#3 2021-10-05 12:08:02

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: How to install a most specific version of python?

I'd strongly suggest using pyenv. This is exactly what it's designed for.

Offline

Board footer

Powered by FluxBB