安装python3.7出现ModuleNotFoundError: No module named ‘_ctypes’解决办法

问题:安装python3.7出现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
    原文作者:hiekay
    原文地址: https://www.jianshu.com/p/d5e8704c9fb7
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞