小编sai*_*i68的帖子

无法导入 termios 包

我正在使用 Python 3.7,我需要import termios屏蔽密码输入。但我无法在https://pypi.org/上找到它

import sys, tty, termios

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import sys, tty, termios
  File "C:\Python37\lib\tty.py", line 5, in <module>
    from termios import *
ModuleNotFoundError: No module named 'termios'
Run Code Online (Sandbox Code Playgroud)

termios python-3.7

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

python-3.7 ×1

termios ×1