首页 > 解决方案 > 无法安装设置模块

问题描述

对于我的代码,顶部有一个导入:

from settings import Settings

我需要安装设置模块,但是每当我尝试安装它时,都会收到以下错误消息:

ERROR: Could not find a version that satisfies the requirement settings (from versions: none)
ERROR: No matching distribution found for settings

有谁知道如何解决这个问题?

标签: pythonpython-3.x

解决方案


您使用了哪个 pip 模块,设置模块很少 python-settings 或 Djangosettings


推荐阅读