google cloud sdk: set environment variable_ python --> linux

前端 未结 3 1673
梦谈多话
梦谈多话 2021-01-05 01:21
ERROR: Python 3 is not supported by the Google Cloud SDK.  Please use a Python 2.x version that is 2.6 or greater.

If you have a compatible Python interpreter insta         


        
3条回答
  •  旧巷少年郎
    2021-01-05 01:57

    I had the same issue so I did a little change in the dev_appserver.py. This file is in the following path :

    google-cloud-sdk/bin
    

    change the shebang from /usr/bin/env python to /usr/bin/env python2

提交回复
热议问题