BUILD FAILED (Ubuntu 22.04 using python-build 2.3.25-6-g91002438)
Inspect or clean up the working tree at /tmp/python-build.20230901100200.1608
Results logged to /tmp/python-build.20230901100200.1608.log
Last 10 log lines:
checking for pkg-config... no
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... "linux"
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/python-build.20230901100200.1608/Python-3.11.5':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
というエラーが吐かれた
基本 ビルドツール関連の不足だと思うので以下のコマンドを叩く
sudo apt update
sudo apt install build-essential libbz2-dev libdb-dev \
libreadline-dev libffi-dev libgdbm-dev liblzma-dev \
libncursesw5-dev libsqlite3-dev libssl-dev \
zlib1g-dev uuid-dev tk-dev
解決