This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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 .\
print('Hello, world')
>zip test.pyz
  adding: (172 bytes security) (stored 0%)
>unzip .\
>.\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
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: <>
2017-01-19 12:11:31paul.moorelinkissue29319 messages
2017-01-19 12:11:30paul.moorecreate