在Pycharm中点击run manage task出错
来源:4-4 新建项目
慕粉4325454
2017-10-17
Failed to get real commands on module "mxonline2": python process died with code 1: Traceback (most recent call last):
File "F:\软件\PyCharm 5.0.3\helpers\pycharm\_jb_manage_tasks_provider.py", line 22, in <module>
parser.report_data(dumper)
File "F:\软件\PyCharm 5.0.3\helpers\pycharm\django_manage_commands_provider\_parser\parser.py", line 47, in report_data
command_help_text=VersionAgnosticUtils().to_unicode(command.usage("")).replace("%prog", command_name))
AttributeError: 'Command' object has no attribute 'usage'
写回答
2回答
-
Long3ck
2018-03-11
确实,以前用django 1.9.8+python 2.7
现在用django 1.11.11+python 3.6.4,需要安装pycharm 2017 3.4版本才不报你这个错
00 -
bobby
2017-10-18
你重新安装一下pycharm的最新版试试呢
00
相似问题