"import termios" problem 
Author Message
 "import termios" problem

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


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:

Quote:
>>> 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



Thu, 06 Nov 2003 18:51:30 GMT  
 "import termios" problem
Nevermind, I figured it out.

A. Hansen

Quote:

> 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


> 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



Thu, 06 Nov 2003 22:07:14 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem importing built in module termios.

2. string.join(["Tk 4.2p2", "Python 1.4", "Win32", "free"], "for")

3. "import foo" and "from foo import bar"

4. Is "form X import *" different from "import X"?

5. "Importing From Application" with CFW 2003

6. "Importing From Application" with CFW 2003

7. "import" analysis

8. Failure to import "time"?

9. Importing "Modules"

10. W9x "import" case sensitivity

11. "from nt import *" fails in os

12. Enquery: "import os"

 

 
Powered by phpBB® Forum Software