$ sudu install python 3.9.5
python-build 3.9.5 /home/dylan/.asdf/installs/python/3.9.5
WARNING: The Python bz2 extension was not compiled. Missing the bzip2 lib?
WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
Please consult to the Wiki page to fix the problem.
BUILD FAILED (Ubuntu 21.04 using python-build 1.2.27-7-g1edded34)Inspect or clean up the working tree at /tmp/python-build.20210505173738.7298
Results logged to /tmp/python-build.20210505173738.7298.log
Last 10 log lines:
./python -E -m ensurepip \
$ensurepip --root=/ ; \
fiLooking in links: /tmp/tmp269bylh7
Installing collected packages: setuptools, pip
WARNING: The scripts pip3 and pip3.9 are installed in '/home/dylan/.asdf/installs/python/3.9.5/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-21.1.1 setuptools-56.0.0