"import termios" problem

Arild Hansen arildh at stud.cs.uit.no
Sun May 20 06:51:30 EDT 2001


OK, I'll try again and be somewhat more specific about the problem. I run
Python on the following i386 platform:

Python 2.0 (#1, May 13 2001, 14:22:01)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-81)] on linux2

where

Linux version 2.4.2-2 (root at porky.devel.redhat.com) (gcc version 2.96
20000731 (Red Hat Linux 7.1 2.96-79)) #1 Sun Apr 8 20:41:30 EDT 2001


Python was patched with ipv6 support, compiled from source and installed
without any problems. It runs just fine except when I try to import the
termios module. I then get the following error:

>>> import termios
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named termios
>>>

When upgrading from Redhat 7.0 to Redhat 7.1 I also re-installed python
(same version) to get ipv6 support. Before I had no problems importing the
termios module, but now I have. I have been looking into the problem
without any luck yet. I have no problems importing the TERMIOS module. If
anybody can point me in the right direction I'll appreciate it a lot.
Thx,

A. Hansen









More information about the Python-list mailing list