Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'importerror:': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'python': 0.11; '(named': 0.16; '67,': 0.16; '70,': 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; 'module': 0.19; 'trying': 0.19; 'import': 0.22; 'issue.': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'extension': 0.26; 'skip:" 40': 0.26; 'header:X -Complaints-To:1': 0.27; 'external': 0.29; "i'm": 0.30; '"",': 0.31; 'fine,': 0.31; 'writes:': 0.31; 'file': 0.32; 'run': 0.32; '(most': 0.33; 'but': 0.35; 'done': 0.36; 'charset:us-ascii': 0.36; 'implement': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:217': 0.63; 'information': 0.63 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: ImportError: No module named _gdb Date: Mon, 02 Jun 2014 08:07:22 +0200 References: <431f3c0e-1cc3-43b2-91a0-34acf3b1da09@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e0aa3c.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:ex6dmAwiwLRk8Cu3mG7El/Yc1gU= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401689257 news.xs4all.nl 2969 [2001:888:2000:d::a6]:43567 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72394 Marcelo Sardelich writes: > So I'm trying to implement pretty printing information using gdb-python27 on Windows7 > > Hopefully, someone experienced the same issue. > > GDB is working fine, but when I run gdb-python27 I got the following error (related to a python import): > > C:\MinGW\bin>gdb-python27.exe > Traceback (most recent call last): > File "", line 70, in > File "", line 67, in GdbSetPythonDirectory > File "c:\mingw\share\gdb/python\gdb\__init__.py", line 19, in > import _gdb > ImportError: No module named _gdb Likely, an external ("C") extension (named "_gdb") must be build (and installed) - and apparently, this is not yet done in your installation.