Ben Chuanlong Du's Blog

It is never too late to learn.

ModuleNotFoundError: No Module Named _Ctypes in Python 3.7

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Issue

The error message "Modulenotfounderror: No Module Named _Ctypes" is thrown when intalling packages in Python 3.7.

Cause

libffi-dev is needed to cleanly build Python 3.7.

Solution

  1. Remove Python …