Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Windows x86-64 embeddable zip file missing module encodings #71240

Closed
tds333 mannequin opened this issue May 18, 2016 · 4 comments
Closed

Python Windows x86-64 embeddable zip file missing module encodings #71240

tds333 mannequin opened this issue May 18, 2016 · 4 comments
Assignees

Comments

@tds333
Copy link
Mannequin

tds333 mannequin commented May 18, 2016

BPO 27053
Nosy @tds333, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/zooba'
closed_at = <Date 2016-05-19.19:10:56.382>
created_at = <Date 2016-05-18.07:43:11.078>
labels = ['expert-installation']
title = 'Python Windows x86-64 embeddable zip file missing module encodings'
updated_at = <Date 2016-05-19.19:10:56.381>
user = 'https://github.com/tds333'

bugs.python.org fields:

activity = <Date 2016-05-19.19:10:56.381>
actor = 'steve.dower'
assignee = 'steve.dower'
closed = True
closed_date = <Date 2016-05-19.19:10:56.382>
closer = 'steve.dower'
components = ['Installation']
creation = <Date 2016-05-18.07:43:11.078>
creator = 'tds333'
dependencies = []
files = []
hgrepos = []
issue_num = 27053
keywords = []
message_count = 4.0
messages = ['265818', '265874', '265875', '265884']
nosy_count = 3.0
nosy_names = ['tds333', 'python-dev', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue27053'
versions = ['Python 3.5', 'Python 3.6']

@tds333
Copy link
Mannequin Author

tds333 mannequin commented May 18, 2016

Tried to extract Windows x86-64 embeddable zip file and execute it.
But following error happened (3.6.0a1):

Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'

Current thread 0x000017c4 (most recent call first):

----

Also tried release version 3.5.1, this version works fine.

@tds333 tds333 mannequin added the topic-installation label May 18, 2016
@zooba
Copy link
Member

zooba commented May 19, 2016

The "python35.zip" file contains the standard library and it needs to be renamed "python36.zip".

Apparently I hardcoded this somewhere instead of inferring it from the current version... I'll fix.

@zooba zooba self-assigned this May 19, 2016
@tds333
Copy link
Mannequin Author

tds333 mannequin commented May 19, 2016

Yes this is the cause. If it is renamed to python36.zip everything works fine.
For the test I have only extracted the distributed zip and executed python.exe. Had not looked further into the issue. So only the simple report something did not work.

Thanks for looking at it and fixing.

@python-dev
Copy link
Mannequin

python-dev mannequin commented May 19, 2016

New changeset 12cb81e90479 by Steve Dower in branch '3.5':
Issue bpo-27053: Updates make_zip.py to correctly generate library ZIP file.
https://hg.python.org/cpython/rev/12cb81e90479

New changeset a6473f7a8c55 by Steve Dower in branch 'default':
Issue bpo-27053: Updates make_zip.py to correctly generate library ZIP file.
https://hg.python.org/cpython/rev/a6473f7a8c55

@zooba zooba closed this as completed May 19, 2016
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant