新米传媒 发表于 2023-12-25 20:19:32

【已完成】面板运行时发生错误ImportError: pycurl: libcurl link-t...

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
REQUEST_DATE: 2023-12-25 20:16:39 PAN_VERSION: 8.0.4OS_VERSION: CentOS7.4.1708 x86_64(Py3.7.8) REMOTE_ADDR: 113.134.******** REQUEST_URI: POST /monitor/boce/get_alam_list?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6.1 Safari/605.1.15系统版本:
问题描述:
相关截图(日志、错误):ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)
Traceback (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 "/www/server/panel/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 pycurlImportError: 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 pycurlImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)

阿珂 发表于 2023-12-26 09:59:44

执行下面命令:
btpip uninstall pycurl
export PYCURL_SSL_LIBRARY=nss
btpip install pycurl
页: [1]
查看完整版本: 【已完成】面板运行时发生错误ImportError: pycurl: libcurl link-t...