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.6 centos6-64 下面运行失败 #104

Closed
chijiao opened this issue Dec 18, 2014 · 1 comment
Closed

python2.6 centos6-64 下面运行失败 #104

chijiao opened this issue Dec 18, 2014 · 1 comment

Comments

@chijiao
Copy link

chijiao commented Dec 18, 2014

[root@dns2 bypy]# python bypy.py
Traceback (most recent call last):
File "bypy.py", line 217, in
if vi.major != 2 or vi.minor < 7:
AttributeError: 'tuple' object has no attribute 'major'

是不是不兼容 Python 2.6.6

@houtianze
Copy link
Owner

嗯,要Python 2.7。

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