帮助中心

这里有最新的使用文档和教程

< 返回

can‘t open file ‘tools.py‘

2023-05-13 10:51 作者:31IDC 阅读量:287 所属分类:Linux系统

宝塔面板忘记密码,输入命令错误,python: can‘t open file ‘tools.pyc‘: [Errno 2] No such file or directory提示解决方案

宝塔面板忘记密码 网上办法在ssh中输入以下命令cd /www/server/panel && python tools.pyc panel 123456出现python: can't open file 'tools.pyc': [Errno 2] No such file or directory,无法重置密码的解决办法:

其实非常简单,因为新版的宝塔面板使用的文件名是tools.py,使用这以下这名即可解决:cd /www/server/panel && python tools.py panel 123456

 

31IDC - 12 年深耕海外 IDC 高端资源