You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

执行make setup搭建本地开发环境时遇Error -1073741515报错求助

执行make setup搭建Django本地开发环境时报错:make: *** [Makefile:31: test] Error -1073741515

执行make setup命令搭建本地Django开发环境时触发报错,错误信息如下:

make: *** [Makefile:31: test] Error -1073741515

相关代码片段

Makefile 部分内容

local_config = --settings=config.local
...
setup:  # 搭建项目数据库
    python manage.py migrate ${local_config}

config/local.py 内容

from .settings import *

DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.sqlite3",
        "NAME": os.path.join(PROJECT_ROOT, "db.sqlite3"),
    }
}

CACHES = {
    "default": {
        "BACKEND": "django.core.cache.backends.dummy.DummyCache",
    }
}

DEBUG = True
TASTYPIE_FULL_DEBUG = True

预期结果

原本期望make setup能正常执行,完成本地开发环境的数据库迁移及整体环境搭建。

内容的提问来源于stack exchange,提问作者Nguezet Kenfack Jordan Junior

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.15 03:52:52