我已经在我的PC上安装了Django最新版本即2.1,并将当前安装的python版本从3.5.rc1更新到了3.7.1。但是还是命令 'Django-admin --version'给出错误-
Traceback (most recent call last):
File "C:\Python34\lib\runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "C:\Python34\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Python34\Scripts\django-admin.exe\__main__.py", line 5, in <module>
File "C:\Python34\lib\site-packages\django\core\management\__init__.py",
from django.conf import settings
File "C:\Python34\lib\site-packages\django\conf\__init__.py", line 18, in
from django.utils.functional import LazyObject, empty
File "C:\Python34\lib\site-packages\django\utils\functional.py", line 12
return _curried_func(*args, *moreargs, **{**kwargs, **morekwargs})