Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #72430
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-06-02 10:22 -0700 |
| References | <431f3c0e-1cc3-43b2-91a0-34acf3b1da09@googlegroups.com> <mailman.10537.1401689257.18130.python-list@python.org> |
| Message-ID | <9dced0b1-9423-4c61-b640-78a261b93637@googlegroups.com> (permalink) |
| Subject | Re: ImportError: No module named _gdb |
| From | Marcelo Sardelich <msardelich@gmail.com> |
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.
Do you have any idea if it is a compiler directive? I mean I can compile Python from source. Not a problem.
Let me know..
On Monday, June 2, 2014 7:07:22 AM UTC+1, dieter wrote:
> Marcelo Sardelich <msardelich@gmail.com> 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 "<string>", line 70, in <module>
>
> > File "<string>", line 67, in GdbSetPythonDirectory
>
> > File "c:\mingw\share\gdb/python\gdb\__init__.py", line 19, in <module>
>
> > 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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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