ERROR: ImportError: No module named '_ctypes
If using RHEL/Fedora:
yum install libffi-devel
Debian/Ubuntu:
sudo apt-get install libffi-dev
重新编译Python
cd Python-3.7.3/
./configure --with-ssl
make
make install
最后安装pip3
python3 -m ensurepip --default-pip
good lucky!