我正在尝试从HTML5 Boilerplate运行构建脚本,我必须为此安装 YUM。我在Mac OS Snow Leopard 10.6.8上。当我这样做时sudo port install yum
,我收到以下错误。知道如何纠正它并正确安装 yum 吗?
---> Computing dependencies for py24-nose
---> Dependencies to be installed: py24-distribute
---> Activating py24-distribute @0.6.24_0 Error: Target org.macports.activate returned: Image error:
/opt/local/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg-info
already exists and does not belong to a registered port. Unable to
activate port py24-distribute. Use 'port -f activate py24-distribute'
to force the activation. Error: Failed to install py24-distribute Log
for py24-distribute is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-distribute/py24-distribute/main.log
Error: The following dependencies were not installed: py24-distribute
Error: Unable to upgrade port: 1 Error: Unable to execute port:
upgrade py24-nose failed To report a bug, see
<http://guide.macports.org/#project.tickets>
之前安装 YUM 后,我得到了Segmentation Fault
,所以我使用 Macports 卸载并再次安装它以获得上述错误。