Search code examples
python-3.xpipreloadnameerror

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


I'm trying to install django-rules by using

python -m pip install django-rules

but I get the NameError mentioned in the title. I've read of 'reload' having to be imported for python3 but I don't know how to do that when using the terminal for pip install.

Any ideas of how to install django-rules?


Solution

  • Let's see: https://pypi.org/project/django-rules/

    Version 0.2 last released at Jun 7, 2011.

    Seems to be abandoned Python2-only project. Forget about it or fork it and update to Python 3 yourself.