TypeError: 'module' object is not callable

前端 未结 11 1834
耶瑟儿~
耶瑟儿~ 2020-11-22 12:06
File \"C:\\Users\\Administrator\\Documents\\Mibot\\oops\\blinkserv.py\", line 82, in __init__
    self.serv = socket(AF_INET,SOCK_STREAM)
TypeError: \'module\' objec         


        
11条回答
  •  不知归路
    2020-11-22 12:22

    I guess you have overridden the builtin function/variable or something else "module" by setting the global variable "module". just print the module see whats in it.

提交回复
热议问题