After installing tftpy == 0.8.6 on windows and running:
import tftpy
I get:
import tftpy
File ".venv\lib\site-packages\tftpy_init_.py", line 13, in
from .TftpServer import TftpServer
File ".venv\lib\site-packages\tftpy\TftpServer.py", line 16, in
from .TftpContexts import TftpContextServer
File ".venv\lib\site-packages\tftpy\TftpContexts.py", line 18, in
import fcntl
ModuleNotFoundError: No module named 'fcntl'
The fcntl module is only available on Unix-like systems (Linux, macOS) and not available on Windows.
The tftpy library uses fcntl, so it cannot run natively on Windows.