我想用自制软件安装python3.3。
brew install python3
但是失败。我需要安装Xcode吗?
Warning: A newer Command Line Tools for Xcode release is avaliable
You should install the latest version from: http://connect.apple.com
==> Downloading http://python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/python3-3.3.0.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/python3/3.3.0 --enable-ipv6 --datarootdir=/usr/local/Cellar/python3/3.3.0/share --datadir=/usr/local/Cellar/python3
==> make
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 854, in _load_module
File "<frozen importlib._bootstrap>", line 988, in get_code
ValueError: unmarshallable object
make: *** [Lib/_sysconfigdata.py] Segmentation fault: 11
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
These open issues may also help:
https://github.com/mxcl/homebrew/issues/16848
答案 0 :(得分:3)
答案是错误的。安装X-Code并更新命令行工具。以下是回答您问题的相关问题。