(myenv) [email protected]:~/Desktop/Python-Area/projects/Djangular$ pip freeze
djangorestframework==3.7.3
pkg-resources==0.0.0
(myenv) [email protected]:~/Desktop/Python-Area/projects/Djangular$ pip install django
Collecting django
Using cached Django-2.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-qAnv7G/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'
------------------------------------
내 virtualenv 안에 django를 설치하려고 할 때마다 계속 오류가 발생합니다. 어떻게 해결할 수 있을까요?PIP는 VIrtualenv 안에 장고를 설치할 수 없습니다
이것은 실제로 효과가있어, 고마워. –