Appear this error:
ModuleNotFoundError: No module named '_ctypes'
On degrees, I installed the apt install libffi - dev
But still won't do,
What should I do this?
The system is: ubuntu 18.04
CodePudding user response:
Sudo apt to get the updateSudo apt - get upgrade
Sudo apt - get dist - upgrade
Sudo apt - get the install build - essential python - dev python - setuptools python - PIP python - smbus
Sudo apt - get the install build - essential libncursesw5 - dev libgdbm - dev libc6 - dev
Sudo apt - get the install zlib1g - dev libsqlite3 - dev tk - dev
Sudo apt - get the install libssl - dev openssl
Sudo apt - get the install libffi - dev
CodePudding user response: