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

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.

主站蜘蛛池模板: 澄江县| 周口市| 大竹县| 西乌珠穆沁旗| 思茅市| 正安县| 开阳县| 清河县| 历史| 丰顺县| 南平市| 北京市| 镇康县| 东台市| 河北区| 贵州省| 铁岭县| 泸西县| 红桥区| 武义县| 习水县| 凌源市| 卓资县| 丹巴县| 志丹县| 康平县| 天台县| 偃师市| 萨迦县| 长岭县| 土默特左旗| 栖霞市| 安化县| 望谟县| 玛纳斯县| 潞城市| 两当县| 綦江县| 德昌县| 百色市| 丽江市|