在Ubuntu下安装Python库常用方法如下:
sudo apt update
sudo apt install python3-pip
pip3 install 库名
tar -xzf 包名.tar.gz
./configure
make
sudo make install