在終端下安裝缺少依賴
紅帽/ Fedora / CentOS:
yum install bzip2-devel
或者
yum install -y bzip2*
Debian / Ubuntu:
sudo apt-get install libbz2-dev
重新編譯python3
cd Python-3.7.4
./configure --enable-optimizations # 不指定路徑
./configure --prefix=/usr/local/python37 --enable-optimizations # 指定路徑
sudo make && make install