Error running google app engine: unrecognized arguments: admin_console_server

后端 未结 3 621
刺人心
刺人心 2021-01-20 03:25

I\'m following the \'Getting Started with Python App Engine\' tutorial and I can\'t seem to connect to the development server. I keep getting the following error from the lo

相关标签:
3条回答
  • 2021-01-20 03:43

    The option --admin_console_server= was removed but the launcher has not been updated to remove this option.

    You can remove it yourself. From launcher/runtime.py remove the line '--admin_console_server=', (line 125 as of revision 9).

    0 讨论(0)
  • 2021-01-20 03:48

    This was solved for my by following the advice by Michael above, only to cause another error outlined here: 27463779: Unexpected keyword argument “context” when using appcfy.py

    For that, the solution by dick_claus is the one I would recommend, this points to the following link: Google Engine Issue 11536: SDK is incompatible with python 2.7.9

    Finally, it is possible to run the GoogleAppEngineLaunch.py script on a machine with python3 as default, by installing python2, and running with:

    python2 GoogleAppEngineLaunch.py
    

    For archlinux the package is python2 (for all subsidiary packages use python2-[name-of-subsidiary-package]).

    However, you may have a conflict with wxpython, and for this I would try deleting/commenting out the lines that check for the version of wxpython. For me it was lines 28-33 that read.

    REQUIRED_WX_VERSION = (2,8)
    CURRENT_WX_VERSION = wx.VERSION[:2]
    if CURRENT_WX_VERSION != REQUIRED_WX_VERSION:
        print >>sys.stderr, ('wxPython version incorrect; is %d.%d, must be %d.%d' % \
            (CURRENT_WX_VERSION + REQUIRED_WX_VERSION))
    sys.exit(2)
    

    If this helps, then please upvote dick_claus through the linked solution and Michael above as they gave the original solutions. However, I need Karma too, so...

    0 讨论(0)
  • 2021-01-20 04:07
    unrecognized arguments: --admin_console_server=
    

    there is no option --admin_console_server=.
    you might want to change your dev_appserver.py flags to the ones listed in the error message

    0 讨论(0)
提交回复
热议问题