ModuleNotFoundError: No module named 'argon2._ffi' in docker

Viewed 1392

I faced strange issue in docker. Error is ModuleNotFoundError: No module named 'argon2._ffi' And my image with django inside it has this requirement satisfied. I found this link but there is too few info.

Maybe someone can elaborate, how to fix the issue ?

Thanks.

1 Answers

Maybe installing Argon2 as suggested here solves your problem.

Try with:

python3 -m pip install argon2_cffi
python3 -m pip install -U cffi pip setuptools
Related