Rate This Document
Findability
Accuracy
Completeness
Readability

Error Reported During Python-3.8.2 Installation and Compilation

Symptom

During the installation and compilation of Python-3.8.2, the error message "ModuleNotFoundError: No module named '_ctypes'" is displayed.

Key Process and Cause Analysis

CentOS 7 is not installed with the development link library software package of the external function library (libffi).

Conclusion and Solution

Before installing and compiling Python-3.8.2, run the yum install libffi-devel -y command to install the libffi-devel package.