Django migration with python3.6 ERROR:root:code for hash sha3_224 was not found

前端 未结 4 1043
梦如初夏
梦如初夏 2021-01-12 08:30

Hello I read Django tutorials and I have an error related to specific sha3_224 hash function during the migration process. How to solve this problem? Thank you.

4条回答
  •  囚心锁ツ
    2021-01-12 08:52

    !Mind it is really hot fix!

    This issue appears in new version of python - 3.6.3.

    Downgrade to 3.6.2 helped me

    Here is legacy PPA: https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes/+index?batch=75&direction=backwards&start=75

    Commands for further actions of downgrading python:

    sudo apt install libpython3.6-minimal=3.6.2-1+xenial1 sudo apt install python3.6-minimal=3.6.2-1+xenial1 sudo apt install python3.6-stdlib=3.6.2-1+xenial1 sudo apt install python3.6=3.6.2-1+xenial1

提交回复
热议问题