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

【已完成】树莓派4B安装宝塔报错

发表在 Linux面板2022-1-30 20:10 [复制链接] 3 3138

报错之前是安装错误看之前的求助帖子是使用
  1. rm -rf /www/server/panel/pyenv
  2. curl https://download.bt.cn/install/update_panel.sh|bash
复制代码
之后就是如图所示的样子
QQ截图20220130200205.png
使用道具 举报 只看该作者 回复
发表于 2022-1-31 10:27:10 | 显示全部楼层
您好,服务器命令行分别执行以下命令安装依赖后再试试
  1. btpip install --upgrade gevent
复制代码
  1. btpip install --upgrade psutil
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-1-31 14:36:47 | 显示全部楼层
运维阿宏 发表于 2022-1-31 10:27
您好,服务器命令行分别执行以下命令安装依赖后再试试

还是不行这两个输入报错
  1. root@raspberrypi:/# btpip install --upgrade gevent
  2. WARNING: pip is configured with locations that require TLS/SSL, however the ssl                                                                                                 module in Python is not available.
  3. Looking in indexes: https://pypi.doubanio.com/simple
  4. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status                                                                                                =None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because                                                                                                 the SSL module is not available.")': /simple/gevent/
  5. WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status                                                                                                =None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because                                                                                                 the SSL module is not available.")': /simple/gevent/
  6. WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status                                                                                                =None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because                                                                                                 the SSL module is not available.")': /simple/gevent/
  7. WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status                                                                                                =None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because                                                                                                 the SSL module is not available.")': /simple/gevent/
  8. WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLEr                                                       ror("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/gevent/
  9. Could not fetch URL https://pypi.doubanio.com/simple/gevent/: There was a problem confirming the ssl certificate: HTTPSCo                                                       nnectionPool(host='pypi.doubanio.com', port=443): Max retries exceeded with url: /simple/gevent/ (Caused by SSLError("Can                                                       't connect to HTTPS URL because the SSL module is not available.")) - skipping
  10. ERROR: Could not find a version that satisfies the requirement gevent (from versions: none)
  11. ERROR: No matching distribution found for gevent
  12. WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
  13. Could not fetch URL https://pypi.doubanio.com/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConne                                                       ctionPool(host='pypi.doubanio.com', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't con                                                       nect to HTTPS URL because the SSL module is not available.")) - skipping
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-3-1 16:03:39 | 显示全部楼层
宝塔用户_npcjzt 发表于 2022-1-31 14:36
还是不行这两个输入报错
  1. sed -i 's/https/http/g' /root/.pip/pip.conf
复制代码

您好,您使用这个命令把https的pip源换成 http的,如果还是无法安装,请使用docker运行堡塔面板
https://www.bt.cn/bbs/thread-79499-1-1.html
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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