Windows 10无法从'os'导入名称'getuid'

问题描述

当我尝试使用bash中的python3打开py时,我得到ImportError: cannot import name 'getuid' from 'os'即时通讯正在尝试打开与HiddenEye的协议,但我不明白为什么我会收到此错误

解决方法

看起来os.getuid()是仅Unix的函数。您将需要编辑代码以使用跨平台功能,或者在Unix OS上运行它。

来源:https://github.com/Parsely/streamparse/issues/415