你好我有python 7.13
DJANGO 1.11.2版
Windows 10上的django-crypto 0.20版本。
我想创建一个DJANGO应用程序,但随时尝试迁移我需要
那个错误:
from django.utils.crypto import get_random_string
File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in <module>
import hmac
File "C:\Python27\Lib\hmac.py", line 8, in <module>
from operator import _compare_digest as compare_digest
ImportError: cannot import name _compare_digest
如何解决?