我应该重新为zlib模块重新安装python吗? [英] should I re-install python again for zlib module?

查看:286
本文介绍了我应该重新为zlib模块重新安装python吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Ubuntu系统中使用python3.3.2安装Distribution-0.6.49时遇到错误

When installing distribute-0.6.49 with python3.3.2 in Ubuntu system, error encountered

.... blablabla后跟...

....blablabla followed by...

"Compression requires the (missing) zlib module")
RuntimeError: Compression requires the (missing) zlib module

我已经检查了以前需要安装zlib软件包的解决方案,但是在此之前我是否应该重新安装python?我不能在上面安装zlib吗?

I have checked previous solutions that I need to install zlib package, but Should I re install my python again before that? can't I install zlib over it?

如果需要重新安装python,在哪里可以找到已经装有zlib的python 3.3,以便我可以像往常一样安装python?

If re-installing of python needed, Where can I find python 3.3 with zlib already therein so that i can install python as usual?

推荐答案

如果您正在运行ubuntu,那么通常建议您使用软件包管理器中的软件包.如果我没记错的话,可以使用sudo apt-get install python3 或使用软件中心获取python 3-当前为3.3.1.

If you are running ubuntu then it is usually recomended that you use the package from the package manager. You can get python 3 - currently 3.3.1 with either sudo apt-get install python3 if I recall correctly or by using the software centre.

我可以肯定的是,默认发行版包括zlib.

I am reasonably sure that the default distribution includes zlib.

Python 3.3.1 (default, Apr 17 2013, 22:30:32) 
[GCC 4.7.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import zlib
>>> exit()

这篇关于我应该重新为zlib模块重新安装python吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆