12 Jan
2017
12 Jan
'17
6:10 a.m.
On 12 January 2017 at 14:12, Glyph Lefkowitz
It's possible for Pip to notice that it wants to replace a particular file; you can "unlock" it by moving it aside.
Very interesting, especially as the way CPython loads extension modules means that the renaming trick should be safe (even if you "reload" an extension module, or delete it from sys.modules and import it again, CPython doesn't reload the underlying DLL). Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia