- 首页 > 睿知 > it技术 > >
BT(宝塔面板)-Panel service startup failed
重装面板
安装命令只是重新安装了面板,不会影响网站数据,最好先对网站数据进行备份
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh
python错误
遇到这种错误解决起来容易点,错误代码如下:
Starting Bt-Panel… failed
——————————————————
Traceback (most recent call last):
File “main.py”, line 101, in
if not os.path.exists(templatesConf): public.writeFile(templatesConf,’default’);
AttributeError: ‘module’ object has no attribute ‘writeFile’
——————————————————
Error: BT-Panel service startup failed.
【BT(宝塔面板)-Panel service startup failed】错误原因:
python public包 跟面板冲突。如何解决呢?可以尝试使用下面的两条命令:
pip uninstall public
bt restart
推荐阅读