gpt4 book ai didi

python - 如何在 Ubuntu 14.04 上安装 wxPython 3.0.2.0?

转载 作者:行者123 更新时间:2023-12-04 19:18:00 28 4
gpt4 key购买 nike

我正在尝试从 src 安装 wxPython,因为我需要 Ubuntu 上的确切版本 3.0.2.0。 (因此,我无法遵循 related question 中的建议)我下载了源代码并进行了 ./configure、make 和 make install。以下消息似乎已经结束,没有错误。

The installation of wxWidgets is finished. On certain platforms (e.g. Linux) you'll now have to run ldconfig if you installed a shared library and also modify the LD_LIBRARY_PATH (or equivalent) environment variable. wxWidgets comes with no guarantees and doesn't claim to be suitable for any purpose.



我通过 import wx & wx.version() 确认我的安装不起作用。完成安装需要做什么?我应该将 LD_LIBRARY_PATH 设置在哪里?

最佳答案

执行 ./configure、make 和 make install 只会构建和安装 wxWidgets。您还需要使用 build-wxpython.py 构建 wxPython。脚本,默认情况下,它还将使用已知的良好配置标志为您执行构建的 wxWidgets 部分。请参阅源 tarball 中的 wxPython/docs/BUILD.txt。

关于python - 如何在 Ubuntu 14.04 上安装 wxPython 3.0.2.0?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30636466/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com