使用 py2app 时的 fctnl 模块

问题描述 投票:0回答:1

我有 python 脚本 - 我在 Windows 中尝试将其转换为 .app,以便我的主管可以在他的 mac 笔记本电脑中使用它。

但显示错误

import fcntl

ModuleNotFoundError:没有名为“fcntl”的模块

有人反驳这一点吗,或者知道我应该做什么才能继续前进?

fcntl
1个回答
0
投票

py2app 仅在 Mac OS 上受支持,因为它捆绑了 .app OS X 应用程序

© www.soinside.com 2019 - 2024. All rights reserved.