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


Groups > comp.lang.python > #72477

Re: ImportError: No module named _gdb

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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; 'python.': 0.02; 'package,': 0.03; 'compiler': 0.07; 'debugging': 0.07; 'source.': 0.07; "ain't": 0.09; 'profits': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'subject:module': 0.09; 'python': 0.11; 'extension.': 0.16; 'marcelo': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'source': 0.25; 'extension': 0.26; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'idea': 0.28; 'related': 0.29; 'said,': 0.30; 'reply.': 0.31; 'usually': 0.31; 'apparently': 0.31; 'writes:': 0.31; 'probably': 0.32; 'problem.': 0.35; 'something': 0.35; 'but': 0.35; 'google': 0.35; 'version': 0.36; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'integration': 0.37; 'e.g.': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:217': 0.63; 'information': 0.63; 'therefore,': 0.64; 'prompt': 0.68; 'missing.': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: ImportError: No module named _gdb
Date Tue, 03 Jun 2014 08:11:54 +0200
References <431f3c0e-1cc3-43b2-91a0-34acf3b1da09@googlegroups.com> <mailman.10537.1401689257.18130.python-list@python.org> <9dced0b1-9423-4c61-b640-78a261b93637@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Gmane-NNTP-Posting-Host pd9e0aa4a.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:/DWAPRP+iUTpFdndPSqTu/OC0cQ=
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10597.1401775928.18130.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401775928 news.xs4all.nl 2910 [2001:888:2000:d::a6]:55626
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72477

Show key headers only | View raw


Marcelo Sardelich <msardelich@gmail.com> writes:

> Didier thanks for your prompt reply.
> I installed a pre-built version of Python.
> As you said, probably something is missing.
>
> I tried to google packages related to gdb, but ain't had no luck.

The missing part is related to the gdb-Python integration.
Look around for information about this integration - e.g.
installation instructions.

What is missing is apparently a C extension for Python. When you have
the source of this package, then it may contain a "setup.py".
In this case "[sudo] python setup.py install" may do everything necessary
to get a working C extension.


> Do you have any idea if it is a compiler directive?

Not for this problem.

However, using "gdb" usually profits considerably from
having debugging symbols. A system installed Python usually
lacks those symbols. Therefore, after you have solved
the current problem, it may be profitable to compile your
own Python from source.

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


Thread

ImportError: No module named _gdb Marcelo Sardelich <msardelich@gmail.com> - 2014-06-01 15:43 -0700
  Re: ImportError: No module named _gdb dieter <dieter@handshake.de> - 2014-06-02 08:07 +0200
    Re: ImportError: No module named _gdb Marcelo Sardelich <msardelich@gmail.com> - 2014-06-02 10:22 -0700
      Re: ImportError: No module named _gdb dieter <dieter@handshake.de> - 2014-06-03 08:11 +0200

csiph-web