Log in

No account? Create an account
You  never  can  tell  with bees
Debian 9.3:
# pip install django
Collecting django
  Downloading Django-2.0.tar.gz (8.0MB)
    100% |████████████████████████████████| 8.0MB 144kB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "", line 1, in 
      File "/tmp/pip-build-Jhcxvj/django/setup.py", line 32, in 
        version = __import__('django').get_version()
      File "django/__init__.py", line 1, in 
        from django.utils.version import get_version
      File "django/utils/version.py", line 61, in 
    AttributeError: 'module' object has no attribute 'lru_cache'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Jhcxvj/django/

Если явно указать предыдущую версию, то она нормально ставится:
#pip install django==1.11