[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Python-modules-team] My Pip installation is broken after upgrading Debian from oldstable/Wheezy to stable/Jessie...



> >> 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.
> >
> > Interesting. I did find a fix and it seems like others had the same 
> > problem. FFrom Debian's forum, it said 
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744145#31 -- rm -rf 
> > /usr/local/lib/python2.7/dist-packages/requests* I renamed request 
> > directory and now can run Debian's pip command. Sheesh. I also notice it 
> > is an old bug that is still not fixed. :(
> 
> Are you sure? This bug was supposedly fixed in the Jessie version...

Maybe it is a different issue? Pip is still working so far with that 
directory renamed:

$ ls /usr/local/lib/python2.7/dist-packages/requestsRENAMED -all
total 684
drwxr-sr-x  3 root staff   4096 Dec 21 07:10 .
drwxrwsr-x 49 root staff   4096 Jan  1 10:30 ..
-rw-r--r--  1 root staff  17495 Dec 21 07:10 adapters.py
-rw-r--r--  1 root staff  16160 Dec 21 07:10 adapters.pyc
-rw-r--r--  1 root staff   5419 Dec 21 07:10 api.py
-rw-r--r--  1 root staff   6194 Dec 21 07:10 api.pyc
-rw-r--r--  1 root staff   7550 Dec 21 07:10 auth.py
-rw-r--r--  1 root staff   8065 Dec 21 07:10 auth.pyc
-rw-r--r--  1 root staff 344712 Dec 21 07:10 cacert.pem
-rw-r--r--  1 root staff    613 Dec 21 07:10 certs.py
-rw-r--r--  1 root staff    883 Dec 21 07:10 certs.pyc
-rw-r--r--  1 root staff   1469 Dec 21 07:10 compat.py
-rw-r--r--  1 root staff   1691 Dec 21 07:10 compat.pyc
-rw-r--r--  1 root staff  17387 Dec 21 07:10 cookies.py
-rw-r--r--  1 root staff  21091 Dec 21 07:10 cookies.pyc
-rw-r--r--  1 root staff   2776 Dec 21 07:10 exceptions.py
-rw-r--r--  1 root staff   5974 Dec 21 07:10 exceptions.pyc
-rw-r--r--  1 root staff    767 Dec 21 07:10 hooks.py
-rw-r--r--  1 root staff   1212 Dec 21 07:10 hooks.pyc
-rw-r--r--  1 root staff   2007 Dec 21 07:10 __init__.py
-rw-r--r--  1 root staff   2664 Dec 21 07:10 __init__.pyc
-rw-r--r--  1 root staff  29277 Dec 21 07:10 models.py
-rw-r--r--  1 root staff  25836 Dec 21 07:10 models.pyc
drwxr-sr-x  4 root staff   4096 Dec 21 07:10 packages
-rw-r--r--  1 root staff  24544 Dec 21 07:10 sessions.py
-rw-r--r--  1 root staff  19948 Dec 21 07:10 sessions.pyc
-rw-r--r--  1 root staff   3280 Dec 21 07:10 status_codes.py
-rw-r--r--  1 root staff   4598 Dec 21 07:10 status_codes.pyc
-rw-r--r--  1 root staff   2977 Dec 21 07:10 structures.py
-rw-r--r--  1 root staff   5252 Dec 21 07:10 structures.pyc
-rw-r--r--  1 root staff  21845 Dec 21 07:10 utils.py
-rw-r--r--  1 root staff  21397 Dec 21 07:10 utils.pyc


Reply to: