【已解决】ssh有报错
/usr/lib64/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the
Python core team. Support for it is now deprecated in cryptograp
hy, and will be removed in a future release.
from cryptography import x509
您好,这个提示是说cryptograp模块已经不支持python2了。可执行下面升级命令,将面板升级到独立版本,独立面板是已经不需要系统python版本支持,自带python环境运行面板。
curl https://download.bt.cn/install/update_panel.sh|bash
谢花郎 发表于 2021-1-18 10:51
您好,这个提示是说cryptograp模块已经不支持python2了。可执行下面升级命令,将面板升级到独立版本,独立 ...
执行了两遍了 还是提示
毛线 发表于 2021-1-18 11:52
执行了两遍了 还是提示
您好,ssh内执行下面命令看看python版本
btpython -V 谢花郎 发表于 2021-1-18 12:11
您好,ssh内执行下面命令看看python版本
btpython -V
毛线 发表于 2021-1-19 08:43
btpython -V
您好,显示什么?截图看看 大炮运维V587 发表于 2021-1-19 10:00
您好,显示什么?截图看看
https://files.catbox.moe/y2so7p.png 毛线 发表于 2021-1-19 10:42
rm -rf /www/server/panel/pyenv
curl http://download.bt.cn/install/update_panel.sh|bash
到服务器上执行下这两条命令试试 大炮运维V587 发表于 2021-1-19 10:56
到服务器上执行下这两条命令试试
还是不行
毛线 发表于 2021-1-19 11:37
还是不行
私信发我你的面板登录信息和服务器登录信息,我看看 大炮运维V587 发表于 2021-1-19 14:10
私信发我你的面板登录信息和服务器登录信息,我看看
发给你一个临时授权链接 毛线 发表于 2021-1-19 14:29
发给你一个临时授权链接
rm -rf /www/server/panel/pyenv
curl http://download.bt.cn/install/update_panel.sh|bash
根据这个操作一遍就好了
/usr/lib64/python2.7/site-packages/OpenSSL/crypto.py:12: Cryptog
raphyDeprecationWarning: Python 2 is no longer supported by the
Python core team. Support for it is now deprecated in cryptograp
hy, and will be removed in a future release.
from cryptography import x509
上面的提示自己百度是什么意思,可以自己找方法解决
页:
[1]