本文共 601 字,大约阅读时间需要 2 分钟。
pip install django
InsecurePlatformWarningUsing cached Django-2.0.tar.gzComplete output from command python setup.py egg_info:Traceback (most recent call last):File "<string>", line 1, in <module>File "/private/var/folders/m5/4nkdth017wd93klt4ph81k640000gn/T/pip-build-YwlQXr/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_versionFile "django/utils/version.py", line 61, in <module>不知道什么原因 可能是版本问题 sudo pip install Django==1.10.6 后正常
转载于:https://blog.51cto.com/anngle/2047182