[Python-ideas] from __pip__ import

Paul Moore p.f.moore at gmail.com
Tue Sep 20 06:47:16 EDT 2016


On 20 September 2016 at 11:40, אלעזר <elazarg at gmail.com> wrote:
> I believe that at least some of these problems can be addressed given that
> pip *knows* that this import is an in-script import.

Not with pip as it is now. There's talk of detecting problem cases and
reporting back "you need to restart your Python session before
proceeding" for use in cases like an IDLE "install packages" menu
item, but that's not been implemented yet. That may help.

Paul


More information about the Python-ideas mailing list