-
Notifications
You must be signed in to change notification settings - Fork 16
Description
当我点击main_gui.py启动程序的时候,我可以打开并且运行,然后我的vscode就会出现(.venv) PS C:\Users\Lenovo\Desktop\DeltaForceScript-main> & C:/Users/Lenovo/Desktop/DeltaForceScript-main/.venv/Scripts/python.exe c:/Users/Lenovo/Desktop/DeltaForceScript-main/main_gui.py
Checking connectivity to the model hosters, this may take a while. To bypass this check, set DISABLE_MODEL_SOURCE_CHECK to True.
Delta Force 自动购买脚本 - PyQt6 GUI版本 (管理员模式)
屏幕 0 分辨率: 2560x1600
✓ 已从文件加载 6 个区域配置
Creating model: ('PP-OCRv5_server_det', 'models/PP-OCRv5_server_det_infer')
信息: 用提供的模式无法找到文件。
C:\Users\Lenovo\Desktop\DeltaForceScript-main.venv\Lib\site-packages\paddle\utils\cpp_extension\extension_utils.py:718: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md
warnings.warn(warning_message)
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0104 16:16:16.088017 35040 gpu_resources.cc:114] Please NOTE: device: 0, GPU Compute Capability: 8.9, Driver API Version: 13.1, Runtime API Version: 11.8
Creating model: ('PP-OCRv5_server_rec', 'models/PP-OCRv5_server_rec_infer')
上面的提示我喂给ai会提示虽然有些小问题,但是总体的运行还是没有问题的,我就开始调整ui,如图:
但是当我开始运行这个脚本的时候,打开三角洲市场界面,选择一个2三角币的sks射手步枪的皮肤测试一下,发现这个脚本只会运行后点击刷新按钮,然后无论等多久都不会有反应。查看vscode的终端,发现问题:屏幕捕获失败:'_thread._local' object has no attribute 'srcdc'。
请问这个问题怎么解决?我问豆包,上面显示4个可疑问题:
如图展示的,并且我开始重新解决上面的问题后,发现还是没有上面效果,遂写issue求帮助。
还有,这个test_captrue.py是我写来检测屏幕截取功能是否正常运行的程序,我提供给各位。