Installation 使用macports安装mscgen时出错。错误:未能安装python27

Installation 使用macports安装mscgen时出错。错误:未能安装python27,installation,macports,Installation,Macports,我尝试安装mscgen,但出现以下错误: xxxxx-mac:bin xxxxx$ sudo port install mscgen ---> Computing dependencies for mscgen ---> Dependencies to be installed: gd2 xpm xorg-libXext xorg-libX11 xorg-libxcb python27 python27 xorg-libpthread-stubs xorg-xcb-proto l

我尝试安装mscgen,但出现以下错误:

xxxxx-mac:bin xxxxx$ sudo port install mscgen
--->  Computing dependencies for mscgen
--->  Dependencies to be installed: gd2 xpm xorg-libXext xorg-libX11 xorg-libxcb python27 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice
--->  Building python27
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install python27
Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
Error: The following dependencies were not installed: gd2 xpm xorg-libXext xorg-libX11 xorg-libxcb python27 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
xxxxx-mac:bin xxxxx$sudo端口安装mscgen
--->mscgen的计算依赖关系
--->要安装的依赖项:gd2 xpm xorg libXext xorg-libX11 xorg libxcb python27 python27 xorg libpthread存根xorg xcb proto libxml2 xorg util宏xorg xcmisproto xorg xextproto xorg-xf86bigfontproto xorg xtrans xorg libXt xorg libsm xorg libice
--->建筑蟒蛇27
错误:Target org.macports.build返回:shell命令失败(有关详细信息,请参阅日志)
错误:未能安装python27
python27的日志位于:/opt/local/var/macports/logs/\u opt\u local\u var\u macports\u sources\u rsync.macports.org\u release\u tarballs\u ports\u lang\u python27/python27/main.Log
错误:未安装以下依赖项:gd2 xpm xorg libXext xorg-libX11 xorg libxcb python27 python27 xorg libpthread存根xorg xcb proto libxml2 xorg util宏xorg xcmisproto xorg xextproto xorg-xf86bigfontproto xorg xtrans xorg libXt xorg libsm xorg libice
错误:处理过程中遇到状态1。
要报告错误,请参阅

那么在
/opt/local/var/macports/logs/\u opt\u local\u var\u macports\u sources\u rsync.macports.org\u release\u tarballs\u ports\u lang\u python27/python27/main.log中它说了什么?另外,您使用的是什么版本的OS X?