官术网_书友最值得收藏!

Installing PySide using Linux

Installing PySide on a Debian-based system is much easier with the synaptic package manager. Issuing the following command will fetch and install the latest stable version available in the aptitude distribution:

sudo apt-get install python-pyside

On an RPM-based system, you can use the RPM-based distribution, yum, as follows:

yum install python-pyside pyside-tools

If you want to make sure that PySide is installed properly on your system, issue the following commands in the Python shell environment, as shown in Figure 1. The import pyside command should not return any errors.

PySide.__version__ should output something similar to 1.1.2:

Figure 1

Let's move on to see how we can build PySide from scratch.

主站蜘蛛池模板: 巍山| 来宾市| 红原县| 福州市| 太原市| 清新县| 兴安县| 庆云县| 汝城县| 蕉岭县| 临江市| 阿城市| 宁国市| 平潭县| 德昌县| 东丰县| 南雄市| 余姚市| 金阳县| 铜梁县| 烟台市| 武清区| 密云县| 吉林市| 怀仁县| 永兴县| 浪卡子县| 武义县| 遂宁市| 府谷县| 清新县| 中超| 福州市| 寿光市| 舞钢市| 仪陇县| 津市市| 汾阳市| 清苑县| 安徽省| 新晃|