Python Error
Mayukh Chakraborty
mchakrain at yahoo.com
Mon Nov 23 15:15:12 EST 2020
Hi Terry,
1. The command py doesn't work. It gives me the error below :
C:\Users\mchak>pyFatal Python error: init_sys_streams: can't initialize sys standard streamsPython runtime state: core initializedAttributeError: module 'io' has no attribute 'open'
Current thread 0x00008290 (most recent call first):<no Python frame>
2. If I use py -0, I get two installed versions. However, if I try to uninstall from Control Panel, I see only 3.9 version
C:\Users\mchak>py -0Installed Pythons found by py Launcher for Windows -3.9-64 * -3.8-64
3. I tried to uninstall v3.9 and reinstall but it didn't solve the issue.
Regards,Mayukh On Monday, November 23, 2020, 06:34:43 PM GMT, Terry Reedy <tjreedy at udel.edu> wrote:
On 11/23/2020 9:10 AM, Mayukh Chakraborty via Python-list wrote:
> Hi,
> I had uninstalled and installed Python in Windows 10 but I am getting the error below. Can you please help ?
> C:\Users\mchak>python
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
AttributeError: module 'io' has no attribute 'OpenWrapper'
Current thread 0x00009d44 (most recent call first):<no Python frame>
It is true that io has no OpenWrapper class. The question is What is
trying to use that? What installer are you using? I would
(re)download the one from python.org.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list