Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* "Help, Captain Python!"
@ 2010-04-27 19:25 Michael Snyder
  2010-04-27 22:23 ` Phil Muldoon
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Snyder @ 2010-04-27 19:25 UTC (permalink / raw)
  To: gdb

What does this message mean?

   'import site' failed, use -v for traceback


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "Help, Captain Python!"
  2010-04-27 19:25 "Help, Captain Python!" Michael Snyder
@ 2010-04-27 22:23 ` Phil Muldoon
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Muldoon @ 2010-04-27 22:23 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb

On 04/27/2010 08:25 PM, Michael Snyder wrote:
> 'import site' failed, use -v for traceback

I'm not super sure, but it looks like something may be wrong with your
Python install?


On my system (Fedora 12) I see:

rpm -ql python  | grep site
/usr/lib/python2.6/site-packages
/usr/lib64/python2.6/site-packages
/usr/lib64/python2.6/site-packages/README
/usr/lib64/python2.6/site.py
/usr/lib64/python2.6/site.pyc
/usr/lib64/python2.6/site.pyo

Reading around, if you have a custom installation of Python (i.e. build
from source) you may need to set the PYTHONPATH variable.  I'm very
much not an expert in Python packaging, though.

Cheers,

Phil


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-27 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-27 19:25 "Help, Captain Python!" Michael Snyder
2010-04-27 22:23 ` Phil Muldoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox