Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

指定环境时,希望能明确指定python2 #2

Closed
wangzk opened this issue Aug 15, 2013 · 1 comment
Closed

指定环境时,希望能明确指定python2 #2

wangzk opened this issue Aug 15, 2013 · 1 comment

Comments

@wangzk
Copy link

wangzk commented Aug 15, 2013

在每个.py文件开头,指定运行环境时

! /usr/bin/env python

希望能明确指定为python2。因为在像Arch这种滚动发行版上,python现在已经默认指向了python3,所以直接应用/usr/bin/env python使会有问题。

从和其他发行版兼容性方面考虑,请考虑修改为python2

@sumary
Copy link
Owner

sumary commented Aug 15, 2013

没有一点影响的 代码是由深度音乐加载的, 代码头部的/usr/bin/env python 完全可以不写的

@sumary sumary closed this as completed Apr 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants