宝塔用_a086 发表于 2023-12-31 10:06:24

【已完成】出错了,面板运行时发生错误! ImportError: pycurl.

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.0.4
系统版本:CentOS 7.6.1810 x86_64(Py3.7.8)
问题描述:出错了,面板运行时发生错误!ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)
相关截图(日志、错误):
出错了,面板运行时发生错误!
ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)REQUEST_DATE: 2023-12-31 10:04:43
PAN_VERSION: 8.0.4
OS_VERSION: CentOS7.6.1810 x86_64(Py3.7.8)
REMOTE_ADDR: 123.121.243.127
REQUEST_URI: POST /monitor/boce/get_alam_list?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2106, in publicObject
    res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2053, in run
    result = getattr(toObject, get.action)(get)
File "class/panelController.py", line 86, in model
    raise public.PanelError(result['msg'])
public.PanelError: 面板运行时发生错误: Traceback (most recent call last):
File "/www/server/panel/class/monitorModel/boceModel.py", line 28, in
    import pycurl
ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/www/server/panel/class/monitorModel/boceModel.py", line 31, in
    import pycurl
ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)
使用过程突然出错,是哪里的问题呢?

谢花郎 发表于 2023-12-31 16:21:59

您好,尝试使用下面命令进行一个修复试试:
btpip uninstall pycurl
export PYCURL_SSL_LIBRARY=nss
btpip install pycurl
页: [1]
查看完整版本: 【已完成】出错了,面板运行时发生错误! ImportError: pycurl.