python - 没有找到某些包的发行版

标签 python django

安装某些包时出错,但实际存在的示例 django-ajax-filtered-fields==0.5

Downloading/unpacking django-ajax-filtered-fields==0.5 (from -r requirements.example.pip (line 13)) Could not find any downloads that satisfy the requirement django-ajax-filtered-fields==0.5(from -r requirements.example.pip (line 13)) No distributions at all found for django-ajax-filtered-fields==0.5 Storing debug log for failure in /home/pd/.pip/pip.log (peecs)pd@admin:~/proj/django/peecs$ pip install django-ajax-filtered-fields==0.5 --allow-unverified django-ajax-filtered-fields==0.5 Downloading/unpacking django-ajax-filtered-fields==0.5 Could not find any downloads that satisfy the requirement django-ajax-filtered-fields==0.5 Some externally hosted files were ignored (use --allow-external django-ajax-filtered-fields to allow). Cleaning up... No distributions at all found for django-ajax-filtered-fields==0.5 Storing debug log for failure in /home/pd/.pip/pip.log

最佳答案

请注意,由于您使用的 pip 版本太旧,也可能会出现此错误。然后可以通过以下方式解决:

pip install --upgrade pip

您可以通过以下方式检查您的版本:

pip --version

关于python - 没有找到某些包的发行版,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23222104/

相关文章:

python - 类 foo 、类 foo() 和类 foo(object) 之间的区别?

python - scipy.leastsq 和 scipy.least_squares 之间的区别

Django contenttypes如何获取外键值

django - 在 Django 查询中过滤 related_set

django - 如何使用装饰器检查用户是否有权访问 Django 中的某些对象

python - 计算字符串中的元音

python - 在不使用 django.forms 的情况下在 Django 中上传多个文件

Python 用 0-x 索引替换列值(对于 xgboost)

python - Django 相当于 Rails 的 x.days.from_now

python - Django 数据库路由器