python 3.x – distutils.errors.DistutilsError: Command . . . returned non-zero exit status 1

Ubuntu 20.04.4 LTS, pyenv 2.3.1, python3-distutils 3.8.10-0ubuntu1~20.04, libffi-dev 3.3-4, setuptools 58.1.0, pip-22.1.2 machine@machine-HP-ProBook-9000: ~$ pyenv virtualenv 3.11.0b3 Project-Python-env-3.11.0b3 machine@machine-HP-ProBook-9000:~$ pyenv activate Project-Python-env-3.11.0b3 pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1′ to simulate the behavior. (Project-Python-env-3.11.0b3) machine@machine-HP-ProBook-9000:~$ pip install -r requirements.txt Collecting pyblake2>=1.1.2 Using cached pyblake2-1.1.2.tar.gz (126 kB) Preparing metadata (setup.py) … … Read more