zlib - Install Python package locally - Ask Ubuntu
askubuntu.com › questions › 741609Feb 07, 2010 · I highly recommend using virtualenv for a local install of Python that has the same minor version as the one that comes with Ubuntu (2.7.x), I'm quite new myself and had a lot of issues attempting to install packages to a local version without it, whereas with it you can simply create and activate a new environment and install to your hearts content without changing the global package list.