当前位置: 首页 > 有奖问答 >安装django出错

安装django出错

作者 aity
来源: 小木虫 50 1 举报帖子
+关注

我的系统是win7 64位,已安装python2.5,添加了环境变量path,在cmd是可以运行python的。在cmd安装django1.5时出错:
D:\software\Python Web\Django-1.5.4>python setup.py install
Traceback (most recent call last):
  File "setup.py", line 77, in <module>
    version = __import__('django').get_version()
  File "D:\software\Python Web\Django-1.5.4\django\__init__.py", line 6, in get_
version
    from django.utils.version import get_version
  File "D:\software\Python Web\Django-1.5.4\django\utils\version.py", line 1
    from __future__ import unicode_literals
SyntaxError: future feature unicode_literals is not defined

D:\software\Python Web\Django-1.5.4>


是什么问题啊,求各位大神帮忙!! 返回小木虫查看更多

今日热帖
  • 精华评论
猜你喜欢
下载小木虫APP
与700万科研达人随时交流
  • 二维码
  • IOS
  • 安卓