码迷,mamicode.com
首页 > 编程语言 > 详细

Debian 9安装 Python3.7 遇见的环境问题

时间:2019-04-11 23:27:18      阅读:450      评论:0      收藏:0      [点我收藏+]

标签:ctypes   ror   module   build   sqlite   res   sql   fail   date   

问题一

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

Debian 9安装 Python3.7 遇见的环境问题

标签:ctypes   ror   module   build   sqlite   res   sql   fail   date   

原文地址:https://blog.51cto.com/12268222/2377464

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!