需要注意的地方
1.安装依赖:https://devguide.python.org/getting-started/setup-building/#build-dependencies
sudo apt-get install build-essential gdb lcov pkg-config \ libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev \ libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \ lzma lzma-dev tk-dev uuid-dev zlib1g-dev
2.安装依赖后需要重新运行 ./configure
标签:ubuntu20.04,python,3.12,dev,源码,build From: https://www.cnblogs.com/goyier/p/17782304.html