Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with installing Django. #57

Open
omps opened this issue Dec 15, 2017 · 2 comments
Open

Issue with installing Django. #57

omps opened this issue Dec 15, 2017 · 2 comments

Comments

@omps
Copy link

omps commented Dec 15, 2017

Downloading Django-2.0.tar.gz (8.0MB)
100% |████████████████████████████████| 8.0MB 103kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-qItdzL/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
@functools.lru_cache()
AttributeError: 'module' object has no attribute 'lru_cache'

@omps
Copy link
Author

omps commented Dec 15, 2017

https://stackoverflow.com/questions/42196124/there-are-errors-when-i-install-django-by-git

The last Django version does not support python 2.7.If you really want to use python 2.7 and also use Django you should install a previous Django version.The latest supported is: 1.11Therefore, just run:

pip install django==1.11

@ldoktor Version no. need to be updated in the avocado-server documentation.

@omps
Copy link
Author

omps commented Dec 15, 2017

submitter PR #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant