Author paul.moore
Recipients paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-01-19.12:11:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484827891.73.0.559570067048.issue29319@psf.upfronthosting.co.za>
In-reply-to
Content
Trying to run a pyz file using the embedded distribution for 3.6.0, I get an error "Could not import runpy module".

To reproduce, see below:

>type .\__main__.py
print('Hello, world')
>zip test.pyz __main__.py
  adding: __main__.py (172 bytes security) (stored 0%)
>unzip .\python-3.6.0-embed-amd64.zip
...
>.\python.exe .\test.pyz
Could not import runpy module
ModuleNotFoundError: No module named 'runpy'

Running with the standard interpreter works fine:

>py -V
Python 3.6.0
>py .\test.pyz
Hello, world
History
Date User Action Args
2017-01-19 12:11:31paul.mooresetrecipients: + paul.moore, tim.golden, zach.ware, steve.dower
2017-01-19 12:11:31paul.mooresetmessageid: <1484827891.73.0.559570067048.issue29319@psf.upfronthosting.co.za>
2017-01-19 12:11:31paul.moorelinkissue29319 messages
2017-01-19 12:11:30paul.moorecreate