TypeError: argument 1 must be 2-item sequence, not int 程序员文章站 2024-01-15 15:30:31 ... TypeError: argument 1 must be 2-item sequence, not int 参考 https://blog.csdn.net/qq_18250439/article/details/80872425 将 screem=pygame.display.set_mode(1200,800)改成下面代码 screem_width=1200 screem_height=800 screem=pygame.display.set_mode((screem_width,screem_height)) 修改成功后,可以看到游戏窗口。 相关标签: bug合集 上一篇: Docker搭建Zookeeper集群 下一篇: TypeError: transpose(): argument 'dim0' (position 1) must be int, not tuple 推荐阅读 TypeError: argument 1 must be 2-item sequence, not int TypeError: transpose(): argument 'dim0' (position 1) must be int, not tuple TypeError: argument 1 must be 2-item sequence, not int