【django】解决关于RuntimeError: ‘cryptography‘ package is required for sha256_password or caching...问题
生活随笔
收集整理的這篇文章主要介紹了
【django】解决关于RuntimeError: ‘cryptography‘ package is required for sha256_password or caching...问题
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
描述:當(dāng)啟動(dòng)項(xiàng)目的時(shí)候:python manage.py runserver控制臺(tái)報(bào)錯(cuò):
RuntimeError: ‘cryptography’ package is required for sha256_password or caching_sha2_password auth methods
解決方法:pip install cryptography。然后重新啟動(dòng)項(xiàng)目就ok了
總結(jié)
以上是生活随笔為你收集整理的【django】解决关于RuntimeError: ‘cryptography‘ package is required for sha256_password or caching...问题的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 【django】关联查询
- 下一篇: 【django】路由传递参数