安装ASDF Python插件时构建失败
我花了几个小时。无法弄清楚为什么我无法安装asdf
python插件。
每当我运行asdf install python
时,我都会得到此错误:
python-build 3.8.10 /Users/danielrvt/.asdf/installs/python/3.8.10
python-build: use [email protected] from homebrew
python-build: use readline from homebrew
Downloading Python-3.8.10.tar.xz...
-> https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz
Installing Python-3.8.10...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
BUILD FAILED (OS X 12.3.1 using python-build 2.2.5-13-g6d20b3b1)
Inspect or clean up the working tree at /var/folders/2m/x55h424x6316mw17vv1zky7c0000gn/T/python-build.20220420163159.19178
Results logged to /var/folders/2m/x55h424x6316mw17vv1zky7c0000gn/T/python-build.20220420163159.19178.log
Last 10 log lines:
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.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
不确定我在这里做错了什么...
I've spent hours on this. Can't figure out why I'm not able to install the asdf
Python plugin.
Whenever I run asdf install python
I get this error:
python-build 3.8.10 /Users/danielrvt/.asdf/installs/python/3.8.10
python-build: use [email protected] from homebrew
python-build: use readline from homebrew
Downloading Python-3.8.10.tar.xz...
-> https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz
Installing Python-3.8.10...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
BUILD FAILED (OS X 12.3.1 using python-build 2.2.5-13-g6d20b3b1)
Inspect or clean up the working tree at /var/folders/2m/x55h424x6316mw17vv1zky7c0000gn/T/python-build.20220420163159.19178
Results logged to /var/folders/2m/x55h424x6316mw17vv1zky7c0000gn/T/python-build.20220420163159.19178.log
Last 10 log lines:
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.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Not sure what I'm doing wrong here...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论