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

python setup.py install ERROR #7

Closed
lijingpeng opened this issue Sep 23, 2016 · 2 comments
Closed

python setup.py install ERROR #7

lijingpeng opened this issue Sep 23, 2016 · 2 comments

Comments

@lijingpeng
Copy link

python setup.py install
File "setup.py", line 118
with open('requirements.txt') as f:
^
SyntaxError: invalid syntax

@qinxuye
Copy link
Contributor

qinxuye commented Sep 23, 2016

Python版本太老了,连with都不支持,应该是<=2.4的版本。

我们需要2.6+或者3.3+

@lijingpeng
Copy link
Author

正解,集团部分开发机重装操作系统居然默认Python 2.4版本,也是醉了

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