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

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.

主站蜘蛛池模板: 湖州市| 玛多县| 曲阳县| 长顺县| 武穴市| 石阡县| 天津市| 汉川市| 耿马| 苍梧县| 宣化县| 泰宁县| 广东省| 麦盖提县| 个旧市| 滦平县| 巴林右旗| 库伦旗| 哈尔滨市| 永安市| 九江县| 额尔古纳市| 河池市| 望城县| 六安市| 莱西市| 安远县| 恩施市| 汝州市| 池州市| 焉耆| 十堰市| 天柱县| 商河县| 台北市| 盐池县| 徐闻县| 盘锦市| 凤翔县| 咸丰县| 沙湾县|