Etienne Robillard
unread,Dec 27, 2017, 5:07:34 AM12/27/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi,
I'm trying to upgrade my development server to Django 2.0 using setup.py
develop command:
erob@marina:~/ncvs/django$ sudo python setup.py develop
Traceback (most recent call last):
File "setup.py", line 32, in <module>
version = __import__('django').get_version()
File "/home/erob/ncvs/django/django/__init__.py", line 1, in <module>
from django.utils.version import get_version
File "/home/erob/ncvs/django/django/utils/version.py", line 61, in
<module>
@functools.lru_cache()
AttributeError: 'module' object has no attribute 'lru_cache'
Why does the setup.py script attempt to import the django package?
Is it possible to upgrade Django from source when release 1.11.6 is
already installed in /usr/local ?
Thank you in advance,
Etienne