How to install
pip in Debian Wheezy?
I've found many advises
apt-get install python-pip but the result is
"Unable to locate package python-pip"
pip available in Debian Wheezy? I'm using
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
apt-get update might seem to help you, I recommend strongly against using pip installed from the Wheeze repository with
apt-get install python-pip:
pipis at version 1.1 while the current version is > 9.0
piphas known security problems when used to download packages
apt-getpulls in some perl modules for whatever reason
Unless you are running python2.4 or so that is still supported by pip 1.1 (and which you should not use anyway) you should follow the installation instructions on the pip documentation page to securely download
pip (don't use the insecure
pip install --upgrade pip with the 1.1 version, and certainly don't install any packages with
sudo pip ... with that version)
If you already have made the mistake of installing pip version 1.1, immediately do:
sudo apt-get remove python-pip
wget https://bootstrap.pypa.io/get-pip.py python get-pip.py
(for any of the python versions you have installed).
Python2 versions starting with 2.7.9 and Python3 version starting with 3.4 have pip included by default.
try apt-get update. I see it in debian wheezy:
root@aramin:/home/undefine# apt-cache show python-pip Package: python-pip Version: 1.1-3 Installed-Size: 457 Maintainer: Debian Python Modules Team Architecture: all Depends: python2.6, python (>= 2.6.6-7~), python (= 0.6c1) Recommends: python-dev-all (>= 2.6), build-essential Description-en: alternative Python package installer pip is a replacement for easy_install, and is intended to be an improved Python package installer. It integrates with virtualenv, doesn't do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories. Homepage: http://pip.openplans.org/ Description-md5: 8d21e4048f43043df36daaae334010b5 Tag: admin::package-management, devel::lang:python, devel::packaging, implemented-in::python, role::program Section: python Priority: optional Filename: pool/main/p/python-pip/python-pip_1.1-3_all.deb Size: 111846 MD5sum: b9f16d9d57fbfb42a96d3b2ece11acae SHA1: c33418777cbb82320a53f63083ecea1da4f8f559 SHA256: ffd03a25f0c1f457e810a930d83b0cab07e8c70b0f3ce63747544cc6fc39a61f root@aramin:/home/undefine# apt-cache policy python-pip python-pip: Zainstalowana: (brak) Kandydująca: 1.1-3 Tabela wersji: 1.1-3 0 500 debtorrent://localhost/ftp.pl.debian.org/debian/ stable/main i386 Packages