[issue8693] Py_Initialize: can't initialize sys standard streams
New submission from Muhammad Bashir Al-Noimi : After installing python-3.1.2.msi I'm not able to run to python.exe at all because it gives me the following error message: Fatal Python error: Py_Initialize: can't initialize sys standard streams LookupError: unknown encoding: cp720 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. PS * I'm using WinXp SP3 32Bit -- components: Windows files: error.log messages: 105566 nosy: mbnoimi priority: normal severity: normal status: open title: Py_Initialize: can't initialize sys standard streams type: crash versions: Python 3.1 Added file: http://bugs.python.org/file17302/error.log ___ Python tracker <http://bugs.python.org/issue8693> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8693] Py_Initialize: can't initialize sys standard streams
Muhammad Bashir Al-Noimi added the comment: I uninstalled python-2.6.3 before installing python-3.1.2.msi -- ___ Python tracker <http://bugs.python.org/issue8693> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8693] Py_Initialize: can't initialize sys standard streams
Muhammad Bashir Al-Noimi added the comment: No No, this isn't duplicated issue because if I copied cp720.py to Python31\Lib\encodings Python still crashed and gives me the following error Fatal Python error: Py_Initialize: can't initialize sys standard streams TypeError: 'NoneType' object is not callable This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. -- ___ Python tracker <http://bugs.python.org/issue8693> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8693] Py_Initialize: can't initialize sys standard streams
Changes by Muhammad Bashir Al-Noimi : -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue8693> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8693] Py_Initialize: can't initialize sys standard streams
Muhammad Bashir Al-Noimi added the comment: This is the file I'm adding for removing warning message which is not the reason of crashing -- Added file: http://bugs.python.org/file17303/cp720.py ___ Python tracker <http://bugs.python.org/issue8693> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8693] Py_Initialize: can't initialize sys standard streams
Muhammad Bashir Al-Noimi added the comment: humm I re-read issue1616979 I'm confused is it really duplicate issue? if yes I couldn't find the way for fixing in issue1616979 PS I'm newbie in Python and I faced this problem in first day I use Python so please forgive me if my discussion is stupid. -- ___ Python tracker <http://bugs.python.org/issue8693> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8693] Py_Initialize: can't initialize sys standard streams
Muhammad Bashir Al-Noimi added the comment: For fixing this issue I tried to following: 1) Installed python-2.6.3.msi 2) Downloaded cp720.py, genwincodec.py from http://svn.python.org/view?rev=74000&view=rev 3) Copied cp720.py it to Python31\Lib\encodings 4) Run Python31\python.exe I got the following error: --- Fatal Python error: Py_Initialize: can't initialize sys standard streams Traceback (most recent call last): File "C:\Python31\lib\encodings\__init__.py", line 98, in search_function level=0) File "C:\Python31\lib\encodings\cp720.py", line 50 u'\x00' # 0x00 -> CONTROL CHARACTER ^ SyntaxError: invalid syntax This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. --- 5) copied genwincodec.py to Python26 6) Run C:\Python26>python.exe genwincodec.py 720 1>C:\Python31\Lib\encodings\cp720.py I got the following error message: --- Traceback (most recent call last): File "genwincodec.py", line 8, in from gencodec import codegen ImportError: No module named gencodec --- What's wrong? that's really exhausted! I didn't face this problem with any programming language before (I'm C++/Qt developer) -- ___ Python tracker <http://bugs.python.org/issue8693> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8693] Py_Initialize: can't initialize sys standard streams
Muhammad Bashir Al-Noimi added the comment: Thanks and I'm very sorry for disturbance I'll try to get help through mailing list you've mentioned -- ___ Python tracker <http://bugs.python.org/issue8693> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8693] Py_Initialize: can't initialize sys standard streams
Muhammad Bashir Al-Noimi added the comment: Lie Ryan gave me the solution, copy http://svn.python.org/view/python/branches/py3k/Lib/encodings/cp720.py?view=markup to Python31\Lib\encodings -- ___ Python tracker <http://bugs.python.org/issue8693> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com