[Techtalk] Python module search path

Little Girl littlergirl at gmail.com
Mon Mar 28 03:24:11 UTC 2011

Hey there,

David Sumbler wrote:

> I am running Gnome 2.32 in Ubuntu 10.10.
> I have a line in my .bashrc file setting and exporting PYTHONPATH so
> that the directory where I keep my own Python files is included.
> If I run 'python3' or 'idle3' from an xterm, then I can import
> these modules without a problem.
> However, if I start Idle from the Gnome menu, it doesn't know where
> to find these modules.  How do I set PYTHONPATH for Gnome, or
> achieve a similar result?

You've probably already gotten an answer to this, but I figured I'd
check which .bashrc file you edited and suggest this one:


Little Girl

There is no spoon.

More information about the Techtalk mailing list