Linux(Ubuntu)下安装python3.7

Linux(Ubuntu)
安装python3.7出现的一个小错误,及解决办法
参考:https://www.cnblogs.com/jellydong/p/7724169.html

错误:
zipimport.ZipImportError: can’t decompress data; zlib not available
Makefile:1079: recipe for target ‘install’ failed
make: *** [install] Error 1

解决办法:
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev

完成后重新make &&make install

你可能感兴趣的:(Ubuntu软件安装卸载,python3.7,zipimport)