Fix for ModuleNotFoundError: No module named ‘_ctypes’ on ubuntu

First you need to install libffi-dev

sudo apt-get install libffi-dev

Crete a new virtual environment and pip install

Most probably this will fix it.

Comment if it didn’t

Enjoy smile


Comments

Let's discuss now…

This site uses Akismet to reduce spam. Learn how your comment data is processed.