[issue33903] Can't use lib2to3 with embeddable zip file

2018-06-21 Thread Steve Dower
Steve Dower added the comment: There's a command to generate that file though I forget what it is. The embeddable distro does not support installation, though it may work sometimes (it's still the same Python binaries). Try going to nuget.org, search for Python and install one of those

[issue33903] Can't use lib2to3 with embeddable zip file

2018-06-21 Thread Mickaël S .
Mickaël S. added the comment: In my case, on the computer doing releases, I cannot use the full Python installer (even with a minimal unattend.xml file) because any software installation is prohibited. This is an issue in my side but it is for the context. I was expecting to be able to

[issue33903] Can't use lib2to3 with embeddable zip file

2018-06-20 Thread Steve Dower
Steve Dower added the comment: Oh, and issue24960 is not the same. That one is related primarily to having the entire standard library in a zip file. That may be the case for the embeddable distro, but the embeddable distro is also not intended to support installing packages itself, so it

[issue33903] Can't use lib2to3 with embeddable zip file

2018-06-20 Thread Steve Dower
Steve Dower added the comment: This is by design. If you want to install packages into a directory that includes the embeddable zip, you'll need either the matching full install of Python or the Nuget package and use the "--target" argument to pip to put the packages in your directory. See

[issue33903] Can't use lib2to3 with embeddable zip file

2018-06-20 Thread Brett Cannon
Change by Brett Cannon : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue33903] Can't use lib2to3 with embeddable zip file

2018-06-19 Thread Mickaël S .
New submission from Mickaël S. : As stated by https://bugs.python.org/issue24960, the bug should be fixed in 3.6.5 (if it is the same, not sure). Simple reproduction steps are: 1) Download and unzip python-3.6.5-embed-win32.zip. 2) Install pip (OK):