当前版本:32caf36a
Traceback (most recent call last):
File "/home/ben/Workspace/PythonWorkspace/qdanmu/danmu.py", line 936, in <module>
sys.exit(main())
File "/home/ben/Workspace/PythonWorkspace/qdanmu/danmu.py", line 929, in main
win = MainWindow()
File "/home/ben/Workspace/PythonWorkspace/qdanmu/danmu.py", line 751, in init
self.setAttribute(Qt.WA_NoSystemBackground, True)
AttributeError: 'MainWindow' object has no attribute 'setAttribute'. Did you mean: 'testAttribute'?
在Linux环境下,尝试运行danmu.py时遇到一个AttributeError。
报错信息:
应该是版本不兼容所导致的问题,希望能够提供Python环境的版本信息,并在requirements.txt中指定具体软件包的版本号。