Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [lexel@ ~] sudo apt-get install python-qt4
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- libqt4-assistant libqt4-help libqt4-scripttools libqt4-test python-sip
- Suggested packages:
- python-qt4-dbg
- The following NEW packages will be installed:
- libqt4-assistant libqt4-help libqt4-scripttools libqt4-test python-qt4 python-sip
- 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
- Need to get 0B/3,217kB of archives.
- After this operation, 12.3MB of additional disk space will be used.
- Do you want to continue [Y/n]? y
- Selecting previously deselected package libqt4-assistant.
- (Reading database ... 178365 files and directories currently installed.)
- Unpacking libqt4-assistant (from .../libqt4-assistant_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
- Selecting previously deselected package libqt4-help.
- Unpacking libqt4-help (from .../libqt4-help_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
- Selecting previously deselected package libqt4-scripttools.
- Unpacking libqt4-scripttools (from .../libqt4-scripttools_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
- Selecting previously deselected package libqt4-test.
- Unpacking libqt4-test (from .../libqt4-test_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
- Selecting previously deselected package python-sip.
- Unpacking python-sip (from .../python-sip_4.10.1-0ubuntu1_i386.deb) ...
- Selecting previously deselected package python-qt4.
- Unpacking python-qt4 (from .../python-qt4_4.7.2-0ubuntu1_i386.deb) ...
- Setting up libqt4-assistant (4:4.6.2-0ubuntu5.3) ...
- Setting up libqt4-help (4:4.6.2-0ubuntu5.3) ...
- Setting up libqt4-scripttools (4:4.6.2-0ubuntu5.3) ...
- Setting up libqt4-test (4:4.6.2-0ubuntu5.3) ...
- Setting up python-sip (4.10.1-0ubuntu1) ...
- Setting up python-qt4 (4.7.2-0ubuntu1) ...
- Processing triggers for libc-bin ...
- ldconfig deferred processing now taking place
- Processing triggers for python-support ...
- [lexel@ ~] sudo apt-get install pyqt4-dev-tools
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- pyqt4-dev-tools
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 0B/85.4kB of archives.
- After this operation, 242kB of additional disk space will be used.
- Selecting previously deselected package pyqt4-dev-tools.
- (Reading database ... 178472 files and directories currently installed.)
- Unpacking pyqt4-dev-tools (from .../pyqt4-dev-tools_4.7.2-0ubuntu1_i386.deb) ...
- Processing triggers for man-db ...
- Setting up pyqt4-dev-tools (4.7.2-0ubuntu1) ...
- [lexel@ ~] sudo apt-get install qt4-designer
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libpthread-stubs0 libpthread-stubs0-dev libqt4-dev libqt4-multimedia libqt4-opengl-dev libx11-dev libxau-dev
- libxcb1-dev libxdmcp-dev mesa-common-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev
- Suggested packages:
- qt4-dev-tools qt4-doc libmysqlclient-dev libsqlite0-dev libsqlite3-dev libpq-dev unixodbc-dev
- The following NEW packages will be installed:
- libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libpthread-stubs0 libpthread-stubs0-dev libqt4-dev libqt4-multimedia libqt4-opengl-dev libx11-dev libxau-dev
- libxcb1-dev libxdmcp-dev mesa-common-dev qt4-designer x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev
- 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
- Need to get 6,971kB/10.3MB of archives.
- After this operation, 43.4MB of additional disk space will be used.
- Do you want to continue [Y/n]? y
- Get:1 http://pa.archive.ubuntu.com/ubuntu/ lucid/main x11proto-core-dev 7.0.16-1 [92.2kB]
- Get:2 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libxau-dev 1:1.0.5-1 [17.1kB]
- Get:3 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libxdmcp-dev 1:1.0.3-1 [21.2kB]
- Get:4 http://pa.archive.ubuntu.com/ubuntu/ lucid/main x11proto-input-dev 2.0-2 [62.5kB]
- Get:5 http://pa.archive.ubuntu.com/ubuntu/ lucid/main x11proto-kb-dev 1.0.4-1 [27.3kB]
- Get:6 http://pa.archive.ubuntu.com/ubuntu/ lucid/main xtrans-dev 1.2.5-1 [68.5kB]
- Get:7 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libpthread-stubs0 0.3-2 [3,196B]
- Get:8 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libpthread-stubs0-dev 0.3-2 [2,414B]
- Get:9 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libxcb1-dev 1.5-2 [73.8kB]
- Get:10 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libx11-dev 2:1.3.2-1ubuntu3 [3,505kB]
- Get:11 http://pa.archive.ubuntu.com/ubuntu/ lucid/main libdrm-dev 2.4.18-1ubuntu3 [515kB]
- Get:12 http://pa.archive.ubuntu.com/ubuntu/ lucid-updates/main mesa-common-dev 7.7.1-1ubuntu3 [2,339kB]
- Get:13 http://pa.archive.ubuntu.com/ubuntu/ lucid-updates/main libgl1-mesa-dev 7.7.1-1ubuntu3 [31.5kB]
- Get:14 http://pa.archive.ubuntu.com/ubuntu/ lucid-updates/main libglu1-mesa-dev 7.7.1-1ubuntu3 [213kB]
- Fetched 6,971kB in 27s (253kB/s)
- Selecting previously deselected package x11proto-core-dev.
- (Reading database ... 178482 files and directories currently installed.)
- Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.16-1_all.deb) ...
- Selecting previously deselected package libxau-dev.
- Unpacking libxau-dev (from .../libxau-dev_1%3a1.0.5-1_i386.deb) ...
- Selecting previously deselected package libxdmcp-dev.
- Unpacking libxdmcp-dev (from .../libxdmcp-dev_1%3a1.0.3-1_i386.deb) ...
- Selecting previously deselected package x11proto-input-dev.
- Unpacking x11proto-input-dev (from .../x11proto-input-dev_2.0-2_all.deb) ...
- Selecting previously deselected package x11proto-kb-dev.
- Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.4-1_all.deb) ...
- Selecting previously deselected package xtrans-dev.
- Unpacking xtrans-dev (from .../xtrans-dev_1.2.5-1_all.deb) ...
- Selecting previously deselected package libpthread-stubs0.
- Unpacking libpthread-stubs0 (from .../libpthread-stubs0_0.3-2_i386.deb) ...
- Selecting previously deselected package libpthread-stubs0-dev.
- Unpacking libpthread-stubs0-dev (from .../libpthread-stubs0-dev_0.3-2_i386.deb) ...
- Selecting previously deselected package libxcb1-dev.
- Unpacking libxcb1-dev (from .../libxcb1-dev_1.5-2_i386.deb) ...
- Selecting previously deselected package libx11-dev.
- Unpacking libx11-dev (from .../libx11-dev_2%3a1.3.2-1ubuntu3_i386.deb) ...
- Selecting previously deselected package libdrm-dev.
- Unpacking libdrm-dev (from .../libdrm-dev_2.4.18-1ubuntu3_i386.deb) ...
- Replaced by files in installed package linux-libc-dev ...
- Selecting previously deselected package mesa-common-dev.
- Unpacking mesa-common-dev (from .../mesa-common-dev_7.7.1-1ubuntu3_i386.deb) ...
- Selecting previously deselected package libgl1-mesa-dev.
- Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_7.7.1-1ubuntu3_i386.deb) ...
- Selecting previously deselected package libglu1-mesa-dev.
- Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_7.7.1-1ubuntu3_i386.deb) ...
- Selecting previously deselected package libqt4-multimedia.
- Unpacking libqt4-multimedia (from .../libqt4-multimedia_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
- Selecting previously deselected package libqt4-dev.
- Unpacking libqt4-dev (from .../libqt4-dev_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
- Selecting previously deselected package libqt4-opengl-dev.
- Unpacking libqt4-opengl-dev (from .../libqt4-opengl-dev_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
- Selecting previously deselected package qt4-designer.
- Unpacking qt4-designer (from .../qt4-designer_4%3a4.6.2-0ubuntu5.3_i386.deb) ...
- Processing triggers for man-db ...
- Processing triggers for desktop-file-utils ...
- Processing triggers for python-gmenu ...
- Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
- Processing triggers for menu ...
- Processing triggers for python-support ...
- Setting up x11proto-core-dev (7.0.16-1) ...
- Setting up libxau-dev (1:1.0.5-1) ...
- Setting up libxdmcp-dev (1:1.0.3-1) ...
- Setting up x11proto-input-dev (2.0-2) ...
- Setting up x11proto-kb-dev (1.0.4-1) ...
- Setting up xtrans-dev (1.2.5-1) ...
- Setting up libpthread-stubs0 (0.3-2) ...
- Setting up libpthread-stubs0-dev (0.3-2) ...
- Setting up libxcb1-dev (1.5-2) ...
- Setting up libx11-dev (2:1.3.2-1ubuntu3) ...
- Setting up libdrm-dev (2.4.18-1ubuntu3) ...
- Setting up mesa-common-dev (7.7.1-1ubuntu3) ...
- Setting up libgl1-mesa-dev (7.7.1-1ubuntu3) ...
- Setting up libglu1-mesa-dev (7.7.1-1ubuntu3) ...
- Setting up libqt4-multimedia (4:4.6.2-0ubuntu5.3) ...
- Setting up libqt4-dev (4:4.6.2-0ubuntu5.3) ...
- update-alternatives: using /usr/bin/moc-qt4 to provide /usr/bin/moc (moc) in auto mode.
- update-alternatives: using /usr/bin/uic-qt4 to provide /usr/bin/uic (uic) in auto mode.
- update-alternatives: using /usr/bin/lupdate-qt4 to provide /usr/bin/lupdate (lupdate) in auto mode.
- update-alternatives: using /usr/bin/lrelease-qt4 to provide /usr/bin/lrelease (lrelease) in auto mode.
- Setting up libqt4-opengl-dev (4:4.6.2-0ubuntu5.3) ...
- Setting up qt4-designer (4:4.6.2-0ubuntu5.3) ...
- update-alternatives: using /usr/bin/designer-qt4 to provide /usr/bin/designer (designer) in auto mode.
- Processing triggers for libc-bin ...
- ldconfig deferred processing now taking place
- Processing triggers for menu ...
- [lexel@ ~] cd Documents/
- [lexel@ ~/Documents] pyuic4 untitled.ui
- Traceback (most recent call last):
- File "/usr/bin/pyuic4", line 3, in <module>
- import PyQt4.uic.pyuic
- File "/usr/lib/pymodules/python2.6/PyQt4/uic/pyuic.py", line 4, in <module>
- from PyQt4 import QtCore
- RuntimeError: the sip module implements API v8.0 to v8.1 but the PyQt4.QtCore module requires API v7.1
Advertisement
Add Comment
Please, Sign In to add comment