29 Dec
2017
29 Dec
'17
8:19 p.m.
On 12/29/2017 08:57 PM, Marvin Gülker wrote:
Hi,
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
Am 27. December 2017 um 23:16 Uhr -0800 schrieb Abhilash Raj <maxking@asynchronous.in>: 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' The issue is that django 2.0 doesn't support python3 anymore.