为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
问题描述:升级到V13.1.0后报错,出错了,[tencent]运行时发生错误!TypeError: get_run_pip() takes 0 positional arguments but 1 was given
相关截图(日志、错误): 宝塔面板更新到V13.1.0后报错 出错了,[tencent]运行时发生错误! TypeError: get_run_pip() takes 0 positional arguments but 1 was given REQUEST_DATE: 2026-09-22 PAN_VERSION: 13.1.0 OS_VERSION: OpenCloudOS 9.x x86_64(Py3.13.x) REMOTE_ADDR: x.x.x.x REQUEST_URI: POST /plugin%3Faction%3Da%26name%3Dtencent%26s%3Dget_config REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36 HBPC/12.1.4.300 Traceback (most recent call last): File "/www/server/panel/class/panelPlugin.py", line 3830, in a return p.exec_fun(get) ~~~~~~~~~~^^^^^ File "/www/server/panel/class/pluginAuth.py", line 67, in exec_fun raise public.PanelError(res['msg']) public.PanelError: 面板运行时发生错误: Traceback (most recent call last): File "/www/server/panel/plugin/tencent/tencent_main.py", line 21, in import tencentcloud ModuleNotFoundError: No module named 'tencentcloud' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/www/server/panel/plugin/tencent/tencent_main.py", line 23, in os.system(public.get_run_pip('[PIP] install tencentcloud-sdk-python')) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: get_run_pip() takes 0 positional arguments but 1 was given
|
|