python 3.7.4 pip install - NameError: name 'reload' is not defined

python 3.7.4 pip install - NameError: name 'reload' is not defined

我正在尝试使用

安装 django-rules
python -m pip install django-rules

但我得到了标题中提到的 NameError。我读过 'reload' 必须为 python3 导入,但我不知道在使用终端进行 pip 安装时该怎么做。

关于如何安装 django-rules 有什么想法吗?

让我们看看:https://pypi.org/project/django-rules/

版本 0.2 最后发布于 2011 年 6 月 7 日。

似乎被放弃了Python2——唯一的项目。忘记它或分叉它并自己更新到 Python 3。