问题一
zipimport.ZipImportError: can‘t decompress data; zlib not available
Makefile:1130: recipe for target ‘install‘ failed
make: *** [install] Error 1
sudo apt-get install zlib1g-dev
问题二
ModuleNotFoundError: No module named ‘_ctypes‘
Makefile:1130: recipe for target ‘install‘ failed
make: *** [install] Error 1
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus build-essential libncursesw5-dev libgdbm-dev libc6-dev zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl libffi-dev
原文地址:https://blog.51cto.com/12268222/2377464
时间: 2024-10-18 11:02:29