29 Dec
2017
29 Dec
'17
7:57 p.m.
Hi,
Am 27. December 2017 um 23:16 Uhr -0800 schrieb Abhilash Raj <maxking@asynchronous.in>:
Python 2.7 is the only supported Python version for this release. All versions of Django <=1.11 is supported.
I see the below error when I try to upgrade postorius. Given the statement above, I assume it's a problem with Django then -- I've got no Python experience after all. So, what's the correct way to upgrade postorius if just using `$ pip install --upgrade' doesn't work?
(env2) mailman@alexandria:~$ pip install --upgrade postorius
Collecting postorius
Downloading postorius-1.1.2.tar.gz (383kB)
100% |████████████████████████████████| 389kB 2.1MB/s
Collecting Django>=1.8 (from postorius)
Downloading Django-2.0.tar.gz (8.0MB)
100% |████████████████████████████████| 8.0MB 137kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-_z8tGq/Django/setup.py", line 32, in <module>
version = __import__('django').get_version()
File "django/__init__.py", line 1, in <module>
from django.utils.version import get_version
File "django/utils/version.py", line 61, in <module>
@functools.lru_cache()
AttributeError: 'module' object has no attribute 'lru_cache'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_z8tGq/Django/
(env2) mailman@alexandria:~$ python --version
Python 2.7.13
Greetings Marvin
-- Blog: https://mg.guelker.eu PGP/GPG ID: F1D8799FBCC8BC4F