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
- Remove Python 3.7.
-
Install
libffi-dev
sudo apt-get update sudo apt-get install libffi-dev
-
Reinstall Python 3.7.
References
https://stackoverflow.com/questions/27022373/python3-importerror-no-module-named-ctypes-when-using-value-from-module-mul