Error with Panel Terminal widget on Windows


I am trying to create panel app with terminal widget on Windows10. I have a simple jupyter notebook which is very similar to the Panel Terminal example from document.
When I run the script, the terminal does show up, but I got some error message like this:

File “C:\Miniconda\envs\project\lib\site-packages\panel\widgets\”, line 140, in _set_winsize
import fcntl
ModuleNotFoundError: No module named ‘fcntl’

I search online and someone says the “fcntl” package doesn’t support Windows. Also when I click button widget to run cmd.exe, I got another error message:

File “C:\Miniconda\envs\project\lib\site-packages\panel\widgets\”, line 83, in run
import pty
File “C:\Miniconda\envs\project\lib\”, line 12, in
import tty
File “C:\Miniconda\envs\project\lib\”, line 5, in
from termios import *
ModuleNotFoundError: No module named ‘termios’

I am not a software guy. I am a hardware guy and want to use python to do some automation for hardware testing. Can anyone help on this issue?