首页 > 解决方案 > pip 在 github 上找不到版本

问题描述

我看到版本在 github 上可用,但是 pip 找不到

Python 3.9.1
点 21.2.4

问题: 如何安装 djangorestframework-simplejwt 4.4.0 版本?

 pip install djangorestframework-simplejwt==4.4.0
ERROR: Could not find a version that satisfies the requirement 
djangorestframework-simplejwt==4.4.0 (from versions: 1.0, 1.1, 1.2, 1.2.1, 
1.3, 1.4, 1.5.1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.1, 3.0, 3.1, 
3.2, 3.2.1, 3.2.2, 3.2.3, 3.3, 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 
4.1.5, 4.2.0, 4.3.0, 4.5.0, 4.6.0, 4.7.0, 4.7.1, 4.7.2, 4.8.0)

ERROR: No matching distribution found for djangorestframework-simplejwt==4.4.0

标签: pip

解决方案


https://pypi.org/project/djangorestframework-simplejwt/4.4.0/

要求:Python >=3.6, <3.9

不适用于 Python 3.9。降级 Python 或使用更高版本的djangorestframework-simplejwt. 从4.5版开始:

要求:Python >=3.7


推荐阅读