mac m1 使用pyenv 安装过去的python版本,安装失败
/var/folders/1p/zcvph3wd4z7cb0kpj13xhf1r0000gn/T/python-build.20230814121522.31691 ~
08/14 12:15:23 [[1;32mNOTICE[0m] Downloading 1 item(s)
08/14 12:15:23 [[1;32mNOTICE[0m] Allocating disk space. Use --file-allocation=none to disable it. See --file-allocation option in man page for more details.
[#25d1d3 192KiB/16MiB(1%) CN:1 DL:601KiB ETA:26s]
[#25d1d3 1.2MiB/16MiB(7%) CN:1 DL:0.9MiB ETA:15s]
[#25d1d3 2.3MiB/16MiB(14%) CN:1 DL:0.9MiB ETA:15s]
[#25d1d3 3.7MiB/16MiB(23%) CN:1 DL:1.0MiB ETA:11s]
[#25d1d3 4.4MiB/16MiB(27%) CN:1 DL:0.9MiB ETA:11s]
[#25d1d3 5.1MiB/16MiB(31%) CN:1 DL:0.9MiB ETA:11s]
[#25d1d3 5.4MiB/16MiB(34%) CN:1 DL:845KiB ETA:12s]
[#25d1d3 6.3MiB/16MiB(39%) CN:1 DL:847KiB ETA:11s]
[#25d1d3 7.0MiB/16MiB(43%) CN:1 DL:833KiB ETA:11s]
[#25d1d3 7.5MiB/16MiB(47%) CN:1 DL:807KiB ETA:10s]
[#25d1d3 8.1MiB/16MiB(50%) CN:1 DL:776KiB ETA:10s]
[#25d1d3 8.5MiB/16MiB(53%) CN:1 DL:682KiB ETA:11s]
[#25d1d3 8.9MiB/16MiB(56%) CN:1 DL:614KiB ETA:11s]
[#25d1d3 9.4MiB/16MiB(59%) CN:1 DL:569KiB ETA:11s]
[#25d1d3 10MiB/16MiB(63%) CN:1 DL:569KiB ETA:10s]
[#25d1d3 10MiB/16MiB(67%) CN:1 DL:613KiB ETA:8s]
[#25d1d3 11MiB/16MiB(71%) CN:1 DL:592KiB ETA:7s]
[#25d1d3 12MiB/16MiB(75%) CN:1 DL:586KiB ETA:6s]
[#25d1d3 12MiB/16MiB(79%) CN:1 DL:589KiB ETA:5s]
[#25d1d3 13MiB/16MiB(82%) CN:1 DL:577KiB ETA:5s]
[#25d1d3 13MiB/16MiB(85%) CN:1 DL:586KiB ETA:4s]
[#25d1d3 14MiB/16MiB(90%) CN:1 DL:620KiB ETA:2s]
[#25d1d3 15MiB/16MiB(95%) CN:1 DL:674KiB ETA:1s]
08/14 12:15:47 [[1;32mNOTICE[0m] Download complete: ./Python-3.6.0.tar.xz
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
25d1d3|OK | 699KiB/s|./Python-3.6.0.tar.xz
Status Legend:
(OK):download completed.
/var/folders/1p/zcvph3wd4z7cb0kpj13xhf1r0000gn/T/python-build.20230814121522.31691/Python-3.6.0 /var/folders/1p/zcvph3wd4z7cb0kpj13xhf1r0000gn/T/python-build.20230814121522.31691 ~
checking build system type... arm-apple-darwin22.6.0
checking host system type... arm-apple-darwin22.6.0
checking for python3.6... no
checking for python3... python3
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... darwin
checking for --without-gcc... no
checking for --with-icc... no
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for a sed that does not truncate output... /usr/bin/sed
checking for --with-cxx-main=<compiler>... no
checking for clang++... no
configure:
By default, distutils will build C++ extension modules with "clang++".
If this is not intended, then set CXX on the configure command line.
checking for the platform triplet based on compiler characteristics... darwin
configure: error: internal configure error for the platform triplet, please file a bug report
make: *** No targets specified and no makefile found. Stop.