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

报错 #5

Closed
zhangsj opened this issue Nov 15, 2017 · 3 comments
Closed

报错 #5

zhangsj opened this issue Nov 15, 2017 · 3 comments

Comments

@zhangsj
Copy link

zhangsj commented Nov 15, 2017

python manage.py makemigrations blog
Traceback (most recent call last):
File "manage.py", line 8, in
from django.core.management import execute_from_command_line
File "/root/blog/lib/python2.6/site-packages/django/init.py", line 3, in
from django.utils.version import get_version
File "/root/blog/lib/python2.6/site-packages/django/utils/version.py", line 7, in
from django.utils.lru_cache import lru_cache
File "/root/blog/lib/python2.6/site-packages/django/utils/lru_cache.py", line 28
fasttypes = {int, str, frozenset, type(None)},

@jhao104
Copy link
Owner

jhao104 commented Nov 15, 2017

@zhangsj 你的Python版本不对,你是用的CentOS上默认的2.6吧?用2.7.x

@zhangsj
Copy link
Author

zhangsj commented Nov 15, 2017

是的,谢谢了

@zhangsj zhangsj closed this as completed Nov 15, 2017
@jhao104
Copy link
Owner

jhao104 commented Nov 15, 2017

@zhangsj 不客气

This issue was closed.
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