本文介绍了找不到PySide的shiboken python模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PySide安装成功,它运行正常,但我找不到导入shiboken模块的方法。现在我找到了关于通过python模块公开shiboken函数的功能请求的讨论(),但问题已解决。它是在2012年1月实施的,如果我理解正确的话。
即使在我尝试安装PySide 1.1.1之后:

PySide is installed successfully, and it works perfectly, but I can't find a way to import the shiboken module. Now I found the discussion about the feature request to expose shiboken functions through a python module (http://bugs.pyside.org/show_bug.cgi?id=902), but the issue is resolved. It was implemented in january 2012, if I understood correctly.Even though after the installation of PySide 1.1.1 when I try:

>>> import shiboken
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named shiboken

我收到一个ImportError异常。如何安装shiboken python模块?

I get an ImportError exception. How can I install the shiboken python module?

推荐答案

看起来有人忘了更新cmake:。

Looks like someone forgot to update cmake: bugs-PYSIDE-55.

然而,我只是编译 shiboken-1.1.2 ,问题似乎已修复。

However, I've just compiled shiboken-1.1.2, and the issue seems to be fixed.

这篇关于找不到PySide的shiboken python模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-02 20:50