宝塔用户_nlojlt 发表于 2024-3-3 23:37:41

【待反馈】面板错误

raceback (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)










大炮运维V587 发表于 2024-3-4 17:16:20

宝塔用户_nlojlt 发表于 2024-3-4 16:41
pycurl                  7.43.0.5
WARNING: You are using pip version 20.1.1; however, version 24. ...

btpip uninstall pycurl
export PYCURL_SSL_LIBRARY=nss
btpip install pycurl
您好,您执行上面的命令行后,重新打开面板---网站看下是否还报错

大炮运维V587 发表于 2024-3-4 09:34:46

您好,您把您当前系统使用的pycurl版本截图发出来看下
btpip list|grep pycurl

宝塔用户_nlojlt 发表于 2024-3-4 16:41:58

大炮运维V587 发表于 2024-3-4 09:34
您好,您把您当前系统使用的pycurl版本截图发出来看下

pycurl                  7.43.0.5
WARNING: You are using pip version 20.1.1; however, version 24.0 is available.
You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command.

宝塔用户_nlojlt 发表于 2024-3-4 18:39:43

大炮运维V587 发表于 2024-3-4 17:16
您好,您执行上面的命令行后,重新打开面板---网站看下是否还报错

出错了,面板运行时发生错误!
ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)
REQUEST_DATE: 2024-03-04 18:38:34
VERSION: CentOS7.8.2003 x86_64(Py3.7.8)-   8.0.5
REMOTE_ADDR: 211.90.250.224
REQUEST_URI: POST /monitor/boce/get_alam_list?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Linux; Android 14; V2241HA; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36 VivoBrowser/18.4.0.1
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2315, in publicObject
    res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2262, 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)
很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。尝试点击修复
修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
页: [1]
查看完整版本: 【待反馈】面板错误