Package names (PyENV)

Hi. I have previously used ubuntu and pyenv on it. I always installed the required packages with these names:

libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libgdbm-dev lzma lzma-. dev tcl-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev wget curl make build-essential python3-openssl python3-pip python3-django python3-venv

I am a beginner in EndevaourOS and don’t know the names of the same packages here. I need them to learning python programming effectively.

sudo pacman -S pyenv

After installation, e.g. tk is missing and will not compile with pyenv because I tried.

Could you share the exact commands you’re running?

pyenv install 3.11.2

sudo pacman -S tk


picking up from the upstream, this is the recommended one

pacman -S --needed base-devel openssl zlib xz tk