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


Groups > comp.lang.python > #36282

Re: Ubuntu Python -dbg packages

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <missive@hotmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
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; 'interpreter,': 0.09; 'extension': 0.13; '3.3.': 0.16; 'oct': 0.16; 'packages:': 0.16; 'received:65.55.116.32': 0.16; 'received:65.55.116.7': 0.16; 'received:blu0-omc1-s21.blu0.hotmail.com': 0.16; 'wrote:': 0.17; '>>>': 0.18; 'module': 0.19; 'to:name:python-list@python.org': 0.20; 'import': 0.21; 'meant': 0.21; '"",': 0.22; 'sorry,': 0.22; 'matching': 0.23; 'tried': 0.25; '(most': 0.27; 'am,': 0.27; 'compiled': 0.27; 'there.': 0.28; 'this?': 0.28; "skip:' 50": 0.29; 'yes.': 0.29; 'file': 0.32; "skip:' 20": 0.32; 'hopefully': 0.33; 'right?': 0.33; 'traceback': 0.33; 'ubuntu': 0.33; 'to:addr :python-list': 0.33; 'same.': 0.35; 'so,': 0.35; 'but': 0.36; 'modules': 0.36; 'ok,': 0.37; 'why': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'think': 0.40; 'charset:windows-1256': 0.61; 'mentioned': 0.63; 'more': 0.63; 'show': 0.63; 'subject: -': 0.84; 'preventing': 0.91
X-EIP [G+XBWqJB8bJHklvt9ku04mYmNZK7pACe]
X-Originating-Email [missive@hotmail.com]
From Lee Harr <missive@hotmail.com>
To "python-list@python.org" <python-list@python.org>
Subject Re: Ubuntu Python -dbg packages
Date Mon, 7 Jan 2013 00:51:09 +0430
Importance Normal
Content-Type text/plain; charset="windows-1256"
Content-Transfer-Encoding 8bit
MIME-Version 1.0
X-OriginalArrivalTime 06 Jan 2013 20:21:09.0492 (UTC) FILETIME=[5D41FB40:01CDEC4B]
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.183.1357503738.2939.python-list@python.org> (permalink)
Lines 73
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357503738 news.xs4all.nl 6980 [2001:888:2000:d::a6]:38600
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36282

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.


Ok, so now I tried python3.3-dbg but I don't think the pyqt
modules are compiled for 3.3 and that may be preventing
the import there.

Those extension modules would need to be compiled for
an exactly matching python interpreter, right?



>> 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...

> Is PyQtr.__file__ the same here, as below?

Yes. It's the same.

Sorry, that's what I meant to show there.

$ 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 PyQt4
>>> PyQt4.__file__
'/usr/lib/python3/dist-packages/PyQt4/__init__.py'
>>>



>> $ 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]


So, python3-dbg _should_ be able to import this?

Any ideas about the python3-pyqt4-dbg modules mentioned originally?

 		 	   		  

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


Thread

Re: Ubuntu Python -dbg packages Lee Harr <missive@hotmail.com> - 2013-01-07 00:51 +0430

csiph-web