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 🙂


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

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