[Distutils] Installing packages using pip

Ionel Cristian Mărieș contact at ionelmc.ro
Tue Dec 8 18:23:03 EST 2015

On Wed, Dec 9, 2015 at 12:51 AM, Greg Ewing <greg.ewing at canterbury.ac.nz>

> Are you sure you were actually unlinking the old file
> and creating a new one, rather than overwriting the
> existing file? The latter would certainly cause trouble
> if you were able to do it.

​I had two instances of this ​problem:

   - pip upgrading (pip removes old version first) some package with C
   extensions while processes using that still runs
   - removing (yes, rm -rf, not inplace) and recreating a virtualenv while
   processes using that still runs

It's wrong to think "should be safe on linux". Linux lets you do very
stupid things. But that don't make them right or feasible to do in the
general case.

You can do it, sure, but the utility and safety are limited and very
specific in scope. You gotta applaud Windows for getting this right.

-- Ionel Cristian Mărieș, http://blog.ionelmc.ro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151209/90a88916/attachment.html>

More information about the Distutils-SIG mailing list