Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8023
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Brian May <brian@linuxpenguins.xyz> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie... |
| Date | Wed, 30 Dec 2015 10:30:02 +0100 |
| Message-ID | <qLleW-4KR-3@gated-at.bofh.it> (permalink) |
| References | <qLleW-4KR-5@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Wed Dec 30 09:24:33 2015 |
| Old-Return-Path | <brian@linuxpenguins.xyz> |
| X-Amavis-Spam-Status | No, score=-5.727 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DEAR_SOMETHING=1.973, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no |
| X-Policyd-Weight | DYN_NJABL=ERR(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=ERR(-1.5) CL_IP_EQ_FROM_MX=-3.1; rate: -6.1 |
| Content-Type | text/plain |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13341 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/87wprwp9w3.fsf@prune.linuxpenguins.xyz |
| Approved | robomod@news.nic.it |
| Lines | 51 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 30 Dec 2015 20:23:56 +1100 |
| X-Original-Message-ID | <87wprwp9w3.fsf@prune.linuxpenguins.xyz> |
| X-Original-References | <56830BEC.60501@earthlink.net> |
| Xref | csiph.com linux.debian.maint.python:8023 |
Show key headers only | View raw
Ant Dude <ant@zimage.com> writes:
> Dear Sir or Madam:
>
> Hello.
>
> A couple days ago, I upgraded my old Debian from oldstable/Wheezy to
> stable/Jessie but its Pip now crashes as shown below:
>
> $ pip install
> Traceback (most recent call last):
> File "/usr/bin/pip", line 9, in
> load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in
> load_entry_point
> return get_distribution(dist).load_entry_point(group, name)
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in
> load_entry_point
> return ep.load()
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
> ['name'])
> File "/usr/lib/python2.7/dist-packages/pip/init.py", line 74, in
> from pip.vcs import git, mercurial, subversion, bazaar # noqa
> File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in
> from pip.download import path_to_url
> File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in
> from requests.compat import IncompleteRead
> ImportError: cannot import name IncompleteRead
>
> $ python
> Python 2.7.9 (default, Mar 1 2015, 12:57:24)
> [GCC 4.9.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> exit
> Use exit() or Ctrl-D (i.e. EOF) to exit
>
> How do I fix this? I already tried apt-get purge and reinstalling
> python-pip, python-colorama, python-distlib, python-html5lib,
> python-ndg-httpsclient, python-requests, python-urllib3, and
> python-wheel packages. Pip worked before the upgrade. :(
Do you have any python packages installed under /usr/local? If so, this
could cause breakages as these files are outside the control of the
package manager.
In short, it isn't recommended practise to use pip install with Debian,
except for inside a virtualenv (or similar), as the packages can
conflict with Debian packages - especially after a upgrade.
--
Brian May <brian@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie... Brian May <brian@linuxpenguins.xyz> - 2015-12-30 10:30 +0100
Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie... Ant Dude <ant@zimage.com> - 2015-12-30 11:20 +0100
Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie... Brian May <bam@debian.org> - 2016-01-02 00:40 +0100
Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie... Ant Dude <ant@zimage.com> - 2016-01-02 01:00 +0100
Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie... Daniele Tricoli <eriol@mornie.org> - 2016-01-02 16:40 +0100
Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie... Ant Dude <ant@zimage.com> - 2016-01-02 17:40 +0100
Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie... Andrey Rahmatullin <wrar@debian.org> - 2016-01-02 18:40 +0100
Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie... Brian May <bam@debian.org> - 2016-01-03 00:40 +0100
csiph-web