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

Py_Initialize: Can't initialize system standard streams #52367

Closed
Hamedji mannequin opened this issue Mar 12, 2010 · 5 comments
Closed

Py_Initialize: Can't initialize system standard streams #52367

Hamedji mannequin opened this issue Mar 12, 2010 · 5 comments
Labels
topic-installation type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@Hamedji
Copy link
Mannequin

Hamedji mannequin commented Mar 12, 2010

BPO 8120
Nosy @amauryfa

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 = None
closed_at = <Date 2010-03-12.09:53:24.727>
created_at = <Date 2010-03-12.08:15:34.206>
labels = ['expert-installation', 'type-crash']
title = "Py_Initialize: Can't initialize system standard streams"
updated_at = <Date 2010-03-12.10:27:50.109>
user = 'https://bugs.python.org/Hamedji'

bugs.python.org fields:

activity = <Date 2010-03-12.10:27:50.109>
actor = 'Hamed.ji'
assignee = 'none'
closed = True
closed_date = <Date 2010-03-12.09:53:24.727>
closer = 'amaury.forgeotdarc'
components = ['Installation']
creation = <Date 2010-03-12.08:15:34.206>
creator = 'Hamed.ji'
dependencies = []
files = []
hgrepos = []
issue_num = 8120
keywords = []
message_count = 5.0
messages = ['100904', '100906', '100911', '100918', '100924']
nosy_count = 2.0
nosy_names = ['amaury.forgeotdarc', 'Hamed.ji']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue8120'
versions = ['Python 3.1']

@Hamedji
Copy link
Mannequin Author

Hamedji mannequin commented Mar 12, 2010

While try to run Python.exe version 3.1 or 3.2 RC2 on
Windows 7 or Windows XP SP2 get the following error:

Py_Initialize: Can't initialize system standard streams
Lookup Error: unknown encoding: cp720

after download and install cp720.py to lib/encodings get the following error:

Py_Initialize: Can't initialize system standard streams
TypeError: 'NoneType' object is not callable

this is while IDLE works fine

@Hamedji Hamedji mannequin added topic-installation type-crash A hard crash of the interpreter, possibly with a core dump labels Mar 12, 2010
@amauryfa
Copy link
Member

two questions:

  • where did you obtain cp720.py, are you sure it was a python3 version?
  • I've never seen a "3.2 RC2" version. Did you mean the py3k branch?

@Hamedji
Copy link
Mannequin Author

Hamedji mannequin commented Mar 12, 2010

in fact i'm not sure it is compatible with python 3.1
i have download it from

http://blog.oneortheother.info/tip/python-fix-cp720-encoding/

@amauryfa
Copy link
Member

cp720.py was added a few months ago, and will be available with 3.2.
for the impatient, it's here:
http://svn.python.org/view/python/branches/py3k/Lib/encodings/cp720.py?view=markup

@Hamedji
Copy link
Mannequin Author

Hamedji mannequin commented Mar 12, 2010

Thank you very much

Worked well

@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
Labels
topic-installation type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

1 participant