今天再试用 rabird.winio 一切顺利
使用 pyinstaller打包成 exe 后出现一个问题
(1072, 'CreateService', '指定的服务已标注删除。')
爬文完全找不到相关的资料
请问有大大们有遇过这问题吗?
exe:
111
222
a
[<PySC_HANDLE:1884963352832>, 'WINIO', 983551]
Traceback (most recent call last):
File "global_winio.py", line 132, in input_password
File "global_winio.py", line 60, in key_press
File "global_winio.py", line 42, in key_down
File "global_winio.py", line 18, in __get_winio
File "rabird\winio.py", line 129, in __init__
File "rabird\winio.py", line 381, in __initialize
File "rabird\winio.py", line 334, in __start_driver
pywintypes.error: (3, 'StartService', '系统找不到指定的路径。')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 9, in <module>
File "global_winio.py", line 134, in input_password
File "global_winio.py", line 60, in key_press
File "global_winio.py", line 42, in key_down
File "global_winio.py", line 18, in __get_winio
File "rabird\winio.py", line 129, in __init__
File "rabird\winio.py", line 380, in __initialize
File "rabird\winio.py", line 309, in install_driver
pywintypes.error: (1072, 'CreateService', '指定的服务已标注删除。')
[15580] Failed to execute script test
python test.py
111
222
a
[<PySC_HANDLE:1680320309120>, 'WINIO', 983551]
A
1
2
3
4
5