Python Error

Barry Scott barry at barrys-emacs.org
Mon Nov 23 13:16:57 EST 2020



> On 23 Nov 2020, at 14:10, Mayukh Chakraborty via Python-list <python-list at python.org> 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>pythonFatal Python error: init_sys_streams: can't initialize sys standard streamsPython runtime state: core initializedAttributeError: module 'io' has no attribute 'OpenWrapper'
> Current thread 0x00009d44 (most recent call first):<no Python frame>
> Regards,Mayukh

Which version of python are you installing and where did you download it from?
Do you have more than one version of python installed?


Does the command:

   py

work?

If you have python from python.org installed you should be able to list all the version you have installed
with the command:

  py -0

That is zero not oh.

Barry




> -- 
> https://mail.python.org/mailman/listinfo/python-list
> 



More information about the Python-list mailing list