解决报错:ModuleNotFoundError: No module named ‘_sqlite3‘
报错截图
apt-get install libsqlite3-dev
tar -xzvf Python-3.8.3.tgz
cd Python-3.8.3/
./configure prefix=/usr/local/python3.8
/usr/local/python3.8 为python3.8的安装路径
make && make install
apt-get install libsqlite3-dev
tar -xzvf Python-3.8.3.tgz
cd Python-3.8.3/
./configure prefix=/usr/local/python3.8
/usr/local/python3.8 为python3.8的安装路径
make && make install