Reputation: 1
Python manage.py createsuperuser in django project in virtuelenv, reporting error: No module of _ffi found.
I got some clue from google. for example update cffi and argon2, run python from different locations. But nothing works. Thanks in advance!
Upvotes: -1
Views: 38
Reputation: 24
It looks like you are using a library which is missing in your environment. So if you have a requirements.txt
file in your project try to run pip install -r requirements.txt
. I think it is a duplicate of this one tbh.
Upvotes: 0