小编Edu*_*lli的帖子

Geodjango 中的 OSError: [WinError 127] : 找不到指定的过程

我尝试使用Djangowith Geodjango,我遵循了所有文档步骤,但在尝试进行迁移时仍然遇到此错误:

OSError: [WinError 127] : The specified procedure could not be found
Run Code Online (Sandbox Code Playgroud)

models.py是正确的,我正在从网站使用geodjango,这是我的settings.py

import os

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'ci3qd6ti+d+#-4pae7d*)^8nmmgb2j@cacivgt8rdvsngu2$mj'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []


# …
Run Code Online (Sandbox Code Playgroud)

python django geodjango python-3.x

5
推荐指数
1
解决办法
7280
查看次数

标签 统计

django ×1

geodjango ×1

python ×1

python-3.x ×1