Python 架构是 64 位

Python 架构是 64 位

看来 pyside 模块仅支持 32 位 Ubuntu,那么我该如何安装它……?

截屏

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5m54Va/pyside/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-dUYgiI-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-5m54Va/pyside/

答案1

要在所有受支持的 Ubuntu 版本中安装 PySide(Qt4 的 Python 绑定),请打开终端并输入:

sudo apt-get install python-pyside  # for Python 2.x

或者

sudo apt-get install python3-pyside  # for Python 3.x

相关内容