【待反馈】linux 宝塔启动失败
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:系统版本:linux麒麟v10国防版
问题描述:宝塔启动失败
相关截图(日志、错误):
您好,您这个是模块没有安装到,所以启动失败了。您那边在服务器命令行下执行下面命令安装下模块看看
btpip install psutil
bt 1 谢花郎 发表于 2023-9-16 15:02
您好,您这个是模块没有安装到,所以启动失败了。您那边在服务器命令行下执行下面命令安装下模块看看
...
还是不行,终端运行第一行代码提示:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
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.")': /pypi/simple/psutil/
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.")': /pypi/simple/psutil/
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.")': /pypi/simple/psutil/
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.")': /pypi/simple/psutil/
WARNING: Retrying (Retry(total=0, 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.")': /pypi/simple/psutil/
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/psutil/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/psutil/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement psutil (from versions: none)
ERROR: No matching distribution found for psutil
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
宝塔用户_ezyevh 发表于 2023-9-16 15:53
还是不行,终端运行第一行代码提示:
WARNING: pip is configured with locations that require TLS/SSL, ...
无法连接到pip源,联系您那边技术尝试更改pip源,或者重新设置所使用请求https的pip源修改到http试试 本帖最后由 宝塔用户_ezyevh 于 2023-9-18 16:06 编辑
谢花郎 发表于 2023-9-18 09:40
无法连接到pip源,联系您那边技术尝试更改pip源,或者重新设置所使用请求https的pip源修改到http试试 ...
pip源 处理后。
运行 btpip install psutil
bt 1
提示:
Traceback (most recent call last) :File "/www/server/panel/BT-Panel",line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent!
Traceback (most recent call last):
File "/www/server/panel/BT-Panel",line 10,in <module>from gevent import monkeyModuleNotFoundError: No module named 'geventn
Iraceback (most recent call last) :File "/www/server/panel/BT-Panel",line 10,in <module>from gevent import monkeyModuleNotFoundError: No module named' gevent! 宝塔用户_ezyevh 发表于 2023-9-18 15:59
pip源 处理后。
运行 btpip install psutil
bt 1
您直接在命令行下执行下面命令:
btpip install-r /www/server/panel/requirements.txt 谢花郎 发表于 2023-9-18 17:26
您直接在命令行下执行下面命令:
还是不行 。提示如下
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
并且 运行 bt 1 还是启动不了
宝塔用户_ezyevh 发表于 2023-9-19 11:35
还是不行 。提示如下
WARNING: Running pip as the 'root' user can result in broken permissions and co ...
还是缺少了python模块的问题,根据No module named 'ssl'错误找下对应的模块进行安装 谢花郎 发表于 2023-9-19 11:38
还是缺少了python模块的问题,根据No module named 'ssl'错误找下对应的模块进行安装 ...
有什么具体的命令吗 谢花郎 发表于 2023-9-19 11:38
还是缺少了python模块的问题,根据No module named 'ssl'错误找下对应的模块进行安装 ...
同求,我也是这个错误 您好,您的问题解决了吗?
页:
[1]