简体   繁体   English

ubuntu上的glassfish updatetool错误(导入wx的python脚本错误)

[英]glassfish updatetool error on ubuntu (python script error importing wx)

I've installed glassfish and now I wont to download the java ee tutorial, but can't run updatetool. 我已经安装了glassfish,现在我不会下载java ee教程,但是无法运行updatetool。 I'm using ubuntu 13.10 64bit. 我正在使用ubuntu 13.10 64bit。 This is the error. 这是错误。

WX import error.  Verify the WX widgets are in the PYTHONPATH.
Traceback (innermost last):
File "/opt/glassfish/updatetool/vendor-packages/updatetool/common/boot.py",
line 283, in init_app_locale
import wx
File "wx/__init__.py", line 45, in ?
File "wx/_core.py", line 4, in ?
ImportError: libpangoxft-1.0.so.0: file does not exist

Already tried this Glassfish updatetool linux 64 bit issue 已经尝试了这个Glassfish updatetool Linux 64位问题

Tried to install ia32_libs, but as it is not available I installed lib32bz2-1.0 instead (it is reported as a substitute by apt-get). 试图安装ia32_libs,但是由于它不可用,我改为安装了lib32bz2-1.0(据apt-get报道它是替代品)。 Installed some other packages suggested somewhere else too, but no success. 在其他地方也建议安装其他软件包,但没有成功。

Packages python-wxgtk2.8 and libpangoxft-1.0-0 are already installed. 软件包python-wxgtk2.8和libpangoxft-1.0-0已经安装。 PYTHONPATH is empty, don't know what it should contain. PYTHONPATH为空,不知道它应该包含什么。

When You say ' libpangoxft-1.0-0 ' is already installed - did You make sure to install the 32-bit version ? 当您说“ libpangoxft-1.0-0 ”已经安装时- 您确定要安装32位版本吗?

If You want to select the 32-bit version of a library in a 64-bit system, You append the suffix 'i386' . 如果要在64位系统中选择库的32位版本,请附加后缀'i386' When I ran into the same problem, I followed the answer to roughly the same question and, additionally, had to further install lib 'libXxf86vm1:i386' in order to get it working. 当我遇到相同的问题时,我遵循了大致相同的问题答案 ,此外,还必须进一步安装lib'libXxf86vm1:i386'才能使其正常运行。 In one line, that is 在一行中,即

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libjpeg62:i386 libpangoxft-1.0-0:i386 libpangox-1.0-0:i386 libsm6:i386 libidn11:i386 libXxf86vm1:i386

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM