Python 2.5 in F8 has no module "test"

Cameron Simpson cs at
Fri Nov 16 04:39:17 UTC 2007

On 14Nov2007 21:50, yapple <no-reply-gw at> wrote:
| "test" is a builtin module in Python since 2.3. But in Pyhton 2.5 come with F8, I can not do "import test", why?

On my Fedora 7 box the module test isn't in the "python" RPM, it's in
the "python-devel" RPM:

  rpm -qf /usr/lib/python2.5/test/

So try:

  yum install python-devel

I found the file by going:

  strace -e trace=file python

and then seeing what it opened when I said "import test".

Cameron Simpson <cs at> DoD#743

Do not taunt Happy Fun Coder.

More information about the fedora-list mailing list