1
我想在PyCharm上运行的程序上访问STAF API。有没有办法以管理员身份运行PyCharm?我可以在Windows上以管理员身份运行PyCharm吗?
ERROR:root:Error registering with STAF, RC: 21
Traceback (most recent call last):
File "C:\ucce_auto\TestAutomation\common\python\pystafBase.py", line 33, in getStafHandle
handle = STAFHandle(name)
File "C:\STAF\bin\PySTAFv3.py", line 157, in __init__
raise STAFException(rc)
我得到一个错误代码21和解决这个问题的方法之一是运行PyCharm作为管理员。但是我找不到能帮助我做的任何材料。