On Mon, 18 Aug 2025 at 10:07, Budi Janto <[email protected]> wrote: > On 8/18/25 8:28 AM, David wrote:
> > Great! It would be good to know the details of how you solved it, can you > > explain that please? Doing that is a valuable way to contribute to > > this/your community, so that when another person has the same question > > they will be able to read your solution. That makes this discussion useful > > and helpful for anyone who might read it in the archive in future. > > I'll try to explain it briefly. > > 1. Installing pyenv as root. > # apt update; apt upgrade -y > # apt install pyenv > > 2. Follow the instruction exactly > https://github.com/pyenv/pyenv?tab=readme-ov-file#b-set-up-your-shell-environment-for-pyenv, > (I use bash for default shell), logis as reguler user. Add the > commands to ~/.bashrc: > $ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc > $ echo '[[ -d $PYENV_ROOT/bin ]] && export > PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc > $ echo 'eval "$(pyenv init - bash)"' >> ~/.bashrc > > Then, if you have ~/.profile, ~/.bash_profile: > $ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.profile > $ echo '[[ -d $PYENV_ROOT/bin ]] && export > PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.profile > $ echo 'eval "$(pyenv init - bash)"' >> ~/.profile > > $ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile > $ echo '[[ -d $PYENV_ROOT/bin ]] && export > PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile > $ echo 'eval "$(pyenv init - bash)"' >> ~/.bash_profile > > 3. Restart your shell: > $ exec "$SHELL" > > 4. Search python version as you desire (I use 3.10.12): > $ pyenv install -l | less > $ pyenv install 3.10.12 > > 5. Verify the python version with new enviroment: > $ pyenv versions > system > * 3.10.12 (set by /home/user1/.python-version) > > $ python --version > Python 3.10.12 > > 6. Continue setup for UVR5 requirements. Thank you, that's interesting, although you could just link to the info if that's easier. I am particularly curious about if you had to do any extra steps to add tkinter and/or Tcl/Tk and if that was downloaded, or built locally from source?

