当我做:
>>> import os
>>> os.uname()
Run Code Online (Sandbox Code Playgroud)
我收到一个属性错误,如下所示:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
os.uname()
AttributeError: module 'os' has no attribute 'uname'
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题,因为我的 python 坏了或者是其他什么原因,因为在文档中。