Python Forum
Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
#15
(Aug-22-2018, 06:18 AM)Gribouillis Wrote: Find all the files in the filesystem named io.py or io.pyc or io.pyo, io.pyd etc
Searched entire PC there's only one io.py file. All other files just contain io.py in them so they show up in search results too.

(Aug-22-2018, 02:10 PM)snippsat Wrote: Navigate in cmd to root folder of installation the type python.
This to make sure that Path don't mess up stuff.
Eg:
C:\Windows\System32>cd\

C:\>cd python37
C:\Python37>python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
C:\Python37>cd\

C:\>cd python36
# Just to make the error with 3.6
C:\Python36>python
Fatal Python error: Py_Initialize: can't initialize sys standard streams
ModuleNotFoundError: No module named 'io'

Current thread 0x00007010 (most recent call first):

C:\Python36>

Error:
Microsoft Windows [Version 10.0.17134.228] (c) 2018 Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>c: C:\WINDOWS\system32>cd Python37-32 The system cannot find the path specified. C:\WINDOWS\system32>cd \ C:\>cd Python37-32 C:\Python37-32>python Fatal Python error: init_sys_streams: can't initialize sys standard streams AttributeError: module 'io' has no attribute 'OpenWrapper' Current thread 0x0000139c (most recent call first): C:\Python37-32>
Still same error.
Reply


Messages In This Thread
RE: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute - by FatalPythonError - Aug-22-2018, 02:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error: audioio has no attribute 'AudioOut' netwrok 3 715 Oct-22-2023, 05:53 PM
Last Post: netwrok
  cx_oracle Error - AttributeError: 'function' object has no attribute 'cursor' birajdarmm 1 2,546 Apr-15-2023, 05:17 PM
Last Post: deanhystad
  python standard way of importing library mg24 1 950 Nov-15-2022, 01:41 AM
Last Post: deanhystad
  Running Standard Scaler in Python 3 Led_Zeppelin 1 1,312 Sep-05-2022, 06:35 PM
Last Post: deanhystad
  Handling Python Fatal Error richajain1785 7 6,058 Oct-14-2021, 01:34 PM
Last Post: Tails86
  Getting 'NoneType' object has no attribute 'find' error when WebScraping with BS Franky77 2 5,376 Aug-17-2021, 05:24 PM
Last Post: Franky77
  2 ways to initialize a list with all zero quazirfan 2 1,852 Aug-06-2021, 03:27 PM
Last Post: deanhystad
  Attribute Error received not understood (Please Help) crocolicious 5 2,747 Jun-19-2021, 08:45 PM
Last Post: crocolicious
  error in scapy attribute 'haslayer' evilcode1 5 6,655 Mar-02-2021, 11:19 AM
Last Post: evilcode1
  Fatal error after trying to play sound. giladal 0 1,967 Oct-22-2020, 10:27 AM
Last Post: giladal

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020