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.*
本文来自博客园,作者:skystrivegao,转载请注明原文链接:https://www.cnblogs.com/skystrive/p/18581154
整理不易,如果对您有所帮助 请点赞收藏,谢谢~