termpair icon indicating copy to clipboard operation
termpair copied to clipboard

About ModuleNotFoundError in windows

Open MoonTracer732 opened this issue 2 years ago • 2 comments

When I'm using this project in windows ,I found that it cannot work because of there is no module "termios" supported in Windows and I have no idea on how to fix the problem. Is there anyone can make a fix on Windows? It's really helpful on changing it to useful on Windows.Thanks!!!

MoonTracer732 avatar Sep 04 '21 07:09 MoonTracer732

This is something the Python language itself needs to address. https://bugs.python.org/issue41663

If I had written the terminal client in node instead of python, it would work fine with the node-pty package. Unfortunately I chose Python.

cs01 avatar Sep 05 '21 06:09 cs01

I just found https://pypi.org/project/pywinpty/, which might work. PRs welcome.

cs01 avatar Sep 05 '21 06:09 cs01