Python 无法安装设置模块

Python 无法安装设置模块,python,python-3.x,Python,Python 3.x,对于我的代码,顶部有一个导入: 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 有人知道如何解决这个问题吗?您使用了哪个pip模

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

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

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

您使用了哪个pip模块有几个设置模块python settings或Djangosettings

您试图导入什么
设置
模块?根据错误日志,它表明
设置
pypi模块不存在,因此无法安装。无论如何,您是否正在尝试加载django设置?我使用的是PIP19.3.1,我指的是包含设置类的模块。