ModuleNotFoundError: No module named '_ctypes'

five3 34 于 2019-05-01 15:34:41 提问
  • 3 关注
  • 0 收藏,0 浏览
0

ModuleNotFoundError: No module named '_ctypes'

1 个回答

0
five3 34 于 2019-05-01 15:35:46 回答

ubuntu:

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
centos:
yum -y groupinstall “Development tools”
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel

撰写答案

相似问题