For some reason, Python 3.5 just crashes the second I open it up, displaying this:
Fatal Python error: Py_initialize: unable to load the file system codec
ImportError: No module named 'encodings'
Current thread 0x00002168 (most recent call first):
When I try to open IDLE, nothing happens.
I have tried uninstalling and reinstalling, repairing, but nothing happens. I'm using Windows 10 and Python 3.5. Is there something I'm missing?
Have you tried the solution mentioned in this answer/comments?
Python3 installed successfully, but cannot be opened in terminal
I have been struggling with this for 3 hours too (I am using Windows 10 as well). Here is the solution:
Control Panel\System and Security\System
, click Advanced
system settings
on the left. Environment variables
C:\Program Files (x86)\Python35-32
).Hope this helps
User contributions licensed under CC BY-SA 3.0