Configure option to build python3 ./configure --prefix=/opt/python3.6 --enable-optimizations --enable-shared --with-system-expat --with-system-ffi --with-ensurepip=yes python