当前位置:论坛首页 > Linux面板 > 求助

请尝试手动安装: pip install pyOpenSSL

发表在 Linux面板2018-7-26 16:43 [复制链接] 3 4385

宝塔后台面板开启SSL提示这个:请尝试手动安装: pip install pyOpenSSL
请问怎么处理啊~
使用道具 举报 只看该作者 回复
发表于 2018-7-26 16:48:47 | 显示全部楼层
进ssh 执行以下这条命令看看呗
  1. pip install pyOpenSSL
复制代码
使用道具 举报 回复 支持 反对
发表于 2018-7-26 16:52:55 | 显示全部楼层
河妖 发表于 2018-7-26 16:48
进ssh 执行以下这条命令看看呗

提示这个:

DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
Collecting pyOpenSSL
/usr/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/e ... e.html#ssl-warnings
  SNIMissingWarning
/usr/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/e ... e.html#ssl-warnings
  InsecurePlatformWarning
  Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (53kB)
    100% |████████████████████████████████| 61kB 7.5MB/s
Collecting cryptography>=2.2.1 (from pyOpenSSL)
  Downloading https://pypi.doubanio.com/packag ... tography-2.3.tar.gz (449kB)
    100% |████████████████████████████████| 450kB 15.2MB/s
cryptography requires Python '>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*' but the running Python is 2.6.6
You are using pip version 9.0.3, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
使用道具 举报 回复 支持 反对
发表于 2018-7-27 09:59:07 | 显示全部楼层
Hax0412 发表于 2018-7-26 16:52
提示这个:

DEPRECATION: Python 2.6 is no longer supported by the Python c ...

然后再开启试试
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表