我试图在linux下从源代码安装wxPython。我遵循的步骤是:
运行./configure --prefix=$HOME/Local
在配置过程结束时,输出为:
Configured wxWidgets 2.8.12 for `x86_64-unknown-linux-gnu'
Which GUI toolkit should wxWidgets use? GTK+ 2
Should wxWidgets be compiled into single library? no
Should wxWidgets be compiled in debug mode? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets be compiled in Unicode mode? no
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.4 no
wxWidgets 2.6 yes
Which libraries should wxWidgets use?
jpeg sys
png sys
regex sys
tiff builtin
zlib sys
odbc no
expat builtin
libmspack no
sdl no
make
wxPython,运行时似乎没有错误。
make install
但是当我现在尝试在python控制台(v2.7)中执行import wx
时,python找不到模块。
所以我的问题是:
任何提示,链接,文章是赞赏。
对于wxPython 2.8.x,这里有完整的源代码生成说明:
http://wxpython.org/BUILD-2.8.html
如果您希望使用2.9,则可以使用以下说明:http://wxpython.org/builddoc.php
如果遇到问题,请在此处加入wxPython用户邮件列表/Google组:http://wxpython.org/maillist.php
告诉他们你使用的wxPython和Python的哪个版本以及Linux,你几乎肯定会得到帮助。那里有很多Linux的人。
我正在用python 2.7在centos机器上安装WxPython 3.0。
即使禁用mediactrl,install也会搜索GSTreamer并给出错误信息
"configure: error: GStreamer not available"
尽管GSTreamer在机器上可用。以下是两个此类生成的详细信息:
我的想法是关闭mediactrl,所以我使用以下选项
或者
但是,它仍然搜索GSTreamer并输出下面列出的错误消息。 我重新安装了GSTreamer 0.10并将其安装到了\usr\lib\GSTreamer 0.10中,但是,我收到了相同的错误消息
错误消息:
相关问题 更多 >
编程相关推荐