Installing distribute in Python 3.3 Ubuntu -
i running ubuntu 12.04 , have distribution of python 3.3.1 installed. want install packages, first sought install distribute-0.6.38. during "install" phase, encountering following runtime error ($home location of python3.3 installation):
file "$home/python-3.3.1/lib/zipfile.py", line 583, in _check_compression "compression requires (missing) zlib module" runtimeerror: compression requires (missing) zlib module
i tracked through files , function calls, cannot tell why creation of zipfile (i assume root of error) failed.
is there missing package? or there issue fact secondary installation of python?
it issue fact installed python source.
you need install zlib1g-dev
package provide headers python able compile in zlib support:
sudo apt-get install zlib1g-dev
you may missing other dependencies; here list of packages i'd install if compile python on ubuntu machine:
build-essential libncursesw5-dev libreadline5-dev libssl-dev libgdbm-dev libc6-dev libsqlite3-dev tk-dev
Comments
Post a Comment