查看python版本和django版本 python --version 在python shell中: import sys sys.version import django django.VERSION