ModuleNotFoundError: No module named 'fcntl' ???fcntl 是一个 Unix/Linux 专用的模块,用于进行文件描述符控制(如加锁、解锁、非阻塞IO设置等)。 ⛔ 在 Windows 上不可用,因为 Windows 的系统内核和文件锁机制不同。