Ubuntu编译安装软件提示:编译器无法创建可执行文件,卸载到gcc和g++后重新安装
sudo apt-get install build-essential
安装完成之后提示ModuleNotFoundError: No module named '_ctypes'
解决办法:
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
sudo apt-get install build-essential libncursesw5-dev libgdbm-dev libc6-dev
sudo apt-get install zlib1g-dev libsqlite3-dev tk-dev
sudo apt-get install libssl-dev openssl
sudo apt-get install libffi-dev