Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python requests.get() returns broken source code instead of expected source code?
Post: RE: Python requests.get() returns broken source co...

Thank you for reading and taking time to reply. After successfully executing the code you posted and reproducing the same output, I realized the bug was in other part of my script. To summarize, I wa...
FatalPythonError Web Scraping & Web Development 3 3,735 Sep-21-2018, 11:15 AM
    Thread: Python requests.get() returns broken source code instead of expected source code?
Post: Python requests.get() returns broken source code i...

Made a request on the above Wikipedia page. Specifically I need to scrape "results matrix" from https://en.wikipedia.org/wiki/2017%E2%80...ga#Results selectedSeasonPage = requests.get('https://en.wik...
FatalPythonError Web Scraping & Web Development 3 3,735 Sep-20-2018, 06:05 PM
    Thread: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Post: RE: Fatal Python error: init_sys_streams: can't in...

(Aug-22-2018, 05:19 PM)metulburr Wrote: what exactly did you do to fix it for possible future people with the same issue?Just in case if someone again faces this exact same issue I would clarify wha...
FatalPythonError General Coding Help 24 58,085 Aug-22-2018, 06:10 PM
    Thread: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Post: RE: Fatal Python error: init_sys_streams: can't in...

Very grateful to everyone here for taking time to understand problem and helping me. The error is gone now. Would have been forever stuck there if not for your useful insights. Thanks again everyone.
FatalPythonError General Coding Help 24 58,085 Aug-22-2018, 05:18 PM
    Thread: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Post: RE: Fatal Python error: init_sys_streams: can't in...

(Aug-22-2018, 03:02 PM)metulburr Wrote: This is most likely a dead end, but i will ask. Have you created a .pth file at all on this system? This should not effect the standard lib io module if there...
FatalPythonError General Coding Help 24 58,085 Aug-22-2018, 03:14 PM
    Thread: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Post: RE: Fatal Python error: init_sys_streams: can't in...

(Aug-22-2018, 02:41 PM)Gribouillis Wrote: Do you happen to have a PYTHONPATH environment variable? Try python -ETHANKS!! THANK YOU SO MUCH!! This worked. At least my core python works now. I don't ...
FatalPythonError General Coding Help 24 58,085 Aug-22-2018, 02:58 PM
    Thread: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Post: RE: Fatal Python error: init_sys_streams: can't in...

(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 etcSearched entire PC there's only one io.py file. All other files just contain...
FatalPythonError General Coding Help 24 58,085 Aug-22-2018, 02:11 PM
    Thread: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Post: RE: Fatal Python error: init_sys_streams: can't in...

@snippsat checked my python's installation path. It was already C:\Program Files (x86)\Python37-32. After verifying with installer again, it seems when I go for custom installation and select 'Install...
FatalPythonError General Coding Help 24 58,085 Aug-22-2018, 01:50 PM
    Thread: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Post: RE: Fatal Python error: init_sys_streams: can't in...

Yes you're right about that expected output part. Because I get: 'python' is not recognized as an internal or external command, operable program or batch file.So no error when I completely uninstall i...
FatalPythonError General Coding Help 24 58,085 Aug-22-2018, 01:58 AM
    Thread: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Post: RE: Fatal Python error: init_sys_streams: can't in...

I installed through Python 3.7.0 Windows installer found on python.org About second question, while error initially did occur when I tried to run a script through VS terminal, it doesn't seems to be ...
FatalPythonError General Coding Help 24 58,085 Aug-22-2018, 12:48 AM
    Thread: Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Post: Fatal Python error: init_sys_streams: can't initia...

Python 3 installation was working fine until yesterday. Then this happened today. Output from command prompt (Windows 10) when I type Python: Fatal Python error: init_sys_streams: can't initialize sy...
FatalPythonError General Coding Help 24 58,085 Aug-21-2018, 11:56 PM

User Panel Messages

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