Teddy
Teddy

Reputation: 1

No module of _ffi found when create superuser

Python manage.py createsuperuser in django project in virtuelenv, reporting error: No module of _ffi found.

Error Image 1 Error image 2

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

Answers (1)

Amirhosseyn
Amirhosseyn

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

Related Questions