Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36278

Re: Ubuntu Python -dbg packages

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'importerror:': 0.05; 'python3': 0.05; 'sys': 0.05; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; '3.3.': 0.16; 'oct': 0.16; 'packages:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'module': 0.19; 'import': 0.21; '"",': 0.22; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; '(most': 0.27; 'am,': 0.27; 'header:X -Complaints-To:1': 0.28; '>>>>': 0.29; "skip:' 50": 0.29; "skip:' 10": 0.30; 'file': 0.32; "skip:' 20": 0.32; 'hopefully': 0.33; 'traceback': 0.33; 'ubuntu': 0.33; 'to:addr:python-list': 0.33; 'received:org': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'more': 0.63; 'received:fios.verizon.net': 0.84; 'subject: -': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Ubuntu Python -dbg packages
Date Sun, 06 Jan 2013 14:29:08 -0500
References <BLU168-W124818DDA4F12A9CDF4DA60B1260@phx.gbl>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
In-Reply-To <BLU168-W124818DDA4F12A9CDF4DA60B1260@phx.gbl>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.178.1357500599.2939.python-list@python.org> (permalink)
Lines 57
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357500599 news.xs4all.nl 6851 [2001:888:2000:d::a6]:50746
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36278

Show key headers only | View raw


On 1/6/2013 8:42 AM, Lee Harr wrote:
>
> I am using:
> Ubuntu 12.10
> Python 3.2.3

import has been considerably redone, and hopefully upgraded, in 3.3.

> Qt 4.8.2
> PyQt 4.9.3
>
> I also have the ubuntu -dbg packages:
> python3-dbg
> python3-pyqt4-dbg
>
>
>
> I don't understand why python3-dbg cannot import the PyQt4 modules...
>
> $ python3
> Python 3.2.3 (default, Oct 19 2012, 19:53:57)
> [GCC 4.7.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import sys
>>>> sys.executable
> '/usr/bin/python3'
>>>> import PyQt4

Is PyQtr.__file__ the same here, as below?

>>>> import PyQt4.QtCore
>>>>
>
>
> $ python3-dbg
> Python 3.2.3 (default, Oct 19 2012, 19:58:54)
> [GCC 4.7.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import sys
> [60298 refs]
>>>> sys.executable
> '/usr/bin/python3-dbg'
> [60300 refs]
>>>> import PyQt4
> [60323 refs]
>>>> PyQt4.__file__
> '/usr/lib/python3/dist-packages/PyQt4/__init__.py'
> [60323 refs]
>>>> import PyQt4.QtCore
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
> ImportError: No module named QtCore
> [150996 refs]

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Ubuntu Python -dbg packages Terry Reedy <tjreedy@udel.edu> - 2013-01-06 14:29 -0500

csiph-web