gpt4 book ai didi

python - 如何在 Debian 中使用 Python 3.2.3 安装 Django 1.4?

转载 作者:行者123 更新时间:2023-11-28 21:26:46 25 4
gpt4 key购买 nike

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

最佳答案

Django 没有官方版本可以做到这一点,但是伙计们 here在 bitbucket 上一直致力于 python 3 的端口。Django 将在 1.5 版实验性地正式支持 python3

关于python - 如何在 Debian 中使用 Python 3.2.3 安装 Django 1.4?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12208680/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com