[Python-modules-team] Bug#751827: Bug#751827: python-virtualenv: version of pip in virtualenvs fails to uninstall some packages
Jack L.
jackjrabbit at gmail.com
Mon Nov 24 17:19:45 UTC 2014
Oh I think I figured out what happened. I didn't install the new -whl which
is whats used in the virtualenv.
On Fri Nov 21 2014 at 5:44:00 PM Stefano Rivera <stefanor at debian.org> wrote:
> Hi Jack (2014.11.18_11:53:09_+0200)
> > 1.5.6-3 doesn't seem to be working over here even on a fresh virtualenv
>
> Works for me:
>
> $ cat test.sh
> #!/bin/sh
> virtualenv ve
> . ve/bin/activate
> pip install pillow
> pip uninstall pillow
>
> $ ./test.sh
> Running virtualenv with interpreter /usr/bin/python2
> New python executable in ve/bin/python2
> Not overwriting existing python script ve/bin/python (you must use
> ve/bin/python2)
> Installing setuptools, pip...done.
> Downloading/unpacking pillow
> Downloading Pillow-2.6.1.tar.gz (7.3MB): 7.3MB downloaded
> Running setup.py (path:/tmp/ve/build/pillow/setup.py) egg_info for
> package pillow
> ...
> Successfully installed pillow
> Cleaning up...
> Uninstalling Pillow:
> /tmp/ve/bin/pilconvert.py
> /tmp/ve/bin/pildriver.py
> /tmp/ve/bin/pilfile.py
> /tmp/ve/bin/pilfont.py
> /tmp/ve/bin/pilprint.py
> /tmp/ve/lib/python2.7/site-packages/PIL/BdfFontFile.py
> /tmp/ve/lib/python2.7/site-packages/PIL/BdfFontFile.pyc
> ...
> /tmp/ve/lib/python2.7/site-packages/PIL/_util.py
> /tmp/ve/lib/python2.7/site-packages/PIL/_util.pyc
> /tmp/ve/lib/python2.7/site-packages/Pillow-2.6.1-py2.7.egg-info
> Proceed (y/n)? y
> Successfully uninstalled Pillow
>
> $ dpkg -l python-virtualenv python-pip python-pip-whl
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/
> trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Architecture
> Description
> +++-=================================-=====================-
> =====================-======================================
> =================================
> ii python-pip 1.5.6-3 all
> alternative Python package installer
> ii python-pip-whl 1.5.6-3 all
> alternative Python package installer
> ii python-virtualenv 1.11.6+ds-1 all
> Python virtual environment creator
>
> SR
>
> --
> Stefano Rivera
> http://tumbleweed.org.za/
> +1 415 683 3272
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20141124/a3f61304/attachment-0001.html>
More information about the Python-modules-team
mailing list