Describe the bug
My platform : Window10,
After i create fcntl.py, i got this error.
I know that windows did not contain termios pkgs, is there any alternative?
Here is the error text:
Collecting sh
Using cached sh-1.14.3.tar.gz (62 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\user\AppData\Local\Temp\pip-install-c6_3ptet\sh_a745e2298f624f949a4fe5872652dea0\setup.py", line 5, in <module>
import sh
File "C:\Users\user\AppData\Local\Temp\pip-install-c6_3ptet\sh_a745e2298f624f949a4fe5872652dea0\sh.py", line 45, in <module>
import pty
File "D:\ProgramData\anaconda3\envs\lib\pty.py", line 12, in <module>
import tty
File "D:\ProgramData\anaconda3\envs\lib\tty.py", line 5, in <module>
from termios import *
ModuleNotFoundError: No module named 'termios'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Describe the bug My platform : Window10, After i create fcntl.py, i got this error. I know that windows did not contain termios pkgs, is there any alternative?