构建PySide 1.2.0:没有pyside-uic

时间:2013-07-30 07:07:12

标签: python-3.x qt4 pyside

我在我的机器(Ubuntu 13.04 x64)上为python 3.3编译了PySide 1.2.0,但由于某种原因,pyside-tools没有得到编译"。

当我尝试执行pyside-uic(安装后)时出现此错误:

Traceback (most recent call last):
  File "/usr/local/bin/pyside-uic", line 9, in <module>
    load_entry_point('PySide==1.2.0', 'console_scripts', 'pyside-uic')()
  File "/usr/local/lib/python3.3/dist-packages/distribute-0.6.49-py3.3.egg/pkg_resources.py", line 345, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.3/dist-packages/distribute-0.6.49-py3.3.egg/pkg_resources.py", line 2382, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.3/dist-packages/distribute-0.6.49-py3.3.egg/pkg_resources.py", line 2088, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/local/lib/python3.3/dist-packages/PySide-1.2.0-py3.3.egg/PySide/scripts/uic.py", line 28, in <module>
    from pysideuic.driver import Driver
ImportError: No module named 'pysideuic'

鸡蛋文件没有pysideuic文件夹。当我检查pyside_install / py3.3-qt4.8.4-64bit-release / lib文件夹时,我发现了一个&#34; python2.7&#34;文件夹存在!​​!

我使用此页面中的说明构建了源代码:https://pypi.python.org/pypi/PySide

请帮助。

1 个答案:

答案 0 :(得分:1)

现在应该修复。请从github [1]获取最新版本的pyside-setup并重建pyside发行版。如果您有任何问题,请告诉我。

[1] https://github.com/PySide/pyside-setup