Python Error

Terry Reedy tjreedy at udel.edu
Mon Nov 23 13:18:43 EST 2020


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



More information about the Python-list mailing list