部署django项目时出错

我按照教程 使用宝塔面板快速部署Django项目(http://https://www.django.cn/article/show-30.html) 部署项目时,到第12步 Python项目管理插件里添加项目 ,点击确定时,出现如下错误: 抱歉,出错了: Traceback (most recent call last): File "class/flask_sockets.py", line 30, in call handler, values = adapter.match() File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match raise NotFound() werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "class/panelPlugin.py", line 1895, in a return eval(execStr) File "", line 1, in File "plugin/pythonmamager/pythonmamager_main.py", line 261, in CreateProject requirements = self.__install_module(values["install_module"],values["path"],vpath) File "plugin/pythonmamager/pythonmamager_main.py", line 95, in __install_module requirementsconf = public.readFile(requirements).splitlines() AttributeError: 'bool' object has no attribute 'splitlines'

请问是怎么回事呢?

评论 1