Pyside install fails (Python 2.7.4)

纵然是瞬间 提交于 2019-12-02 01:04:56

I'm author of pyside setup scripts. I will test the build scripts on ubuntu 13.04. Are you using 32 or 64bit version ?

Update 1: Fixed the pyside build scripts for Ubuntu 13.04. You need to clone the latest pyside-setup from git repo and build as follows (note --qmake param):

$ git clone https://github.com/PySide/pyside-setup.git pyside-setup
$ cd pyside-setup
$ python setup.py bdist_egg --qmake=/usr/bin/qmake-qt4

and then install the PySide distribution as follows:

$ sudo easy_install dist/PySide-1.1.3dev-py2.7.egg
$ sudo python pyside_postinstall.py -install

I have not used pip because i prefer to build the egg once and install many times as needed Regards R.

Another way:

sudo ln -s /usr/lib/x86_64-linux-gnu/libpython2.7.so.1 /usr/lib/ && pip install PySide
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!