【问题标题】:How to install Django 1.4 with Python 3.2.3 in Debian?如何在 Debian 中使用 Python 3.2.3 安装 Django 1.4?
【发布时间】:2012-08-31 03:54:42
【问题描述】:

我在 Debian /usr/local/bin/python3 中安装了 Python 3.2.3,并在同一目录中安装了 Django 1.4。但是当我尝试从 python 3 shell 解释器导入 django 时,我得到语法错误!我做错了什么?

【问题讨论】:

    标签: python django debian


    【解决方案1】:

    没有官方发布的 Django 可以做到这一点,但是 bitbucket 上的 here 一直在开发 python 3 的端口。Django 将在 1.5 版本中正式支持 python3 实验性

    【讨论】:

      【解决方案2】:

      Django 不支持 Python 3。您需要安装 Python 2.x 版本。

      【讨论】:

      • 真的吗?谢谢你的信息。他们是在为 Python3 开发 Django 吗?
      猜你喜欢
      • 2013-04-04
      • 2018-03-15
      • 1970-01-01
      • 2012-09-07
      • 1970-01-01
      • 2023-03-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多