开发者

Error while installing wxPython package in a non-standard path

I am a relative newbie with Python and was trying to install wxPython 2.9 using Python 2.6. I did a build from source and then installed the package both being done in a non-standard (local) path. When I try and import wx (having provided the path to the installation folder开发者_运维问答 in my environment variable), I get the following error message:

"ImportError: libwx_gtk2u_xrc-2.9.so.1: cannot open shared object file: No such file or directory".

Can someone please tell me if I need to build gtk separately? And if yes, how do I go about doing it?


Add the directory containing the library given in the error to your ld search paths. See the ldconfig(8) man page for details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜