[Baypiggies] Need help installing pip and other Python packages on Debian Wheezy
mvoorhie at yahoo.com
Mon Feb 25 00:59:58 CET 2013
python-pip in wheezy and sid depends on python-all, which depends on both
python2.6 and python2.7, so I think any apt-based install vs. the official
repositories will pull in both. The python ecosystem in Debian is a pretty
complex symlink farm, so I wouldn't try to hack it directly. For things like
the scientific python stack on Debian/Ubuntu, I install from upstream source
to ~/.local/ via the --user flag to setup.py -- is this an option with pip?
On 02/24/2013 03:36 PM, Tony Cappellini wrote:
> I'm trying to install pip on a Raspberry Pi.
> I don't want to install anything that requires any version of Python other
> than 2.7.
> What is the best way to get apt-get to install pip with a version
> compatible with 2.7, and ignore
> any packages that require Python versions than 2.7?
> The linux dist that is typically used for the Raspberry Pi is Debian
> Wheezy. which comes with python 2.7.3.
> After typing
> sudo apt-get install python-pip,
> the following is displayed
> sudo apt-get install python-pip
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following package was automatically installed and is no longer required:
> Use 'apt-get autoremove' to remove it.
> The following extra packages will be installed:
> python-pkg-resources python-setuptools python2.6 python2.6-minimal
> Suggested packages:
> python-distribute python-distribute-doc python2.6-doc binfmt-support
> Recommended packages:
> The following NEW packages will be installed:
> python-pip python-pkg-resources python-setuptools python2.6
> 0 upgraded, 5 newly installed, 0 to remove and 8 not upgraded.
> Need to get 4,475 kB of archives.
> After this operation, 14.5 MB of additional disk space will be used.
> Do you want to continue [Y/n]? n
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
More information about the Baypiggies