Skip to content

建议修改python脚本的解释器为"/usr/bin/env python" #25

Description

@cjybyjk

目前部分python脚本中将解释器指向了"/usr/bin/python",这对部分用户(比如使用virtualenv进行python版本切换的)造成了不便。
因此建议将解释器修改为"/usr/bin/env python"或者"/usr/bin/env python2"
Google的repo脚本使用的是/usr/bin/env python2作为解释器

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions