PYTHON-python引入django_filters时候报错:ERROR: Could not find a version that satisfies the requirement django-filters (from versions: none)

一、问题:

python 执行pip install django-filters引入django_filters时

报错:ERROR: Could not find a version that satisfies the requirement django-filters (from versions: none)

根因:需要带上具体的版本号

解决:

因为python的版本是3.11.0版本 所以我这里安装的是2.*版本的django-filter

pip install django-filter==2.*
image

posted @ 2024-12-03 08:10  skystrivegao  阅读(239)  评论(0)    收藏  举报