Skip to content Skip to sidebar Skip to footer

ImportError After Upgrading Python 2.7.3 To 2.7.6

I occurred into a question after installing python2.7.6. My system is Ubuntu12.10 with the python2.7.3 in path:/usr/bin. And I download the python2.7.6.tar then configure, make

Solution 1:

You are missing compile-time dependencies for optional C extension packages.

Here is a list of packages I'd install if I were to compile Python on an Ubuntu machine:

build-essential
libncursesw5-dev
libreadline5-dev
libssl-dev
libgdbm-dev
libc6-dev
libsqlite3-dev
zlib1g-dev
tk-dev

The libssl-dev headers take care of the SSL module, zlib1g-dev for the zlib module.


Post a Comment for "ImportError After Upgrading Python 2.7.3 To 2.7.6"