Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal Error in Python
I'm facing this problem for about 4 months I've searched everywhere but no solution.

Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00004e04 (most recent call first):

my Os is Windows 10

please give me any solution when I can't code anything it gives me that error. it happened after I installed another python 2 and I'm using python 3.

Thanks very much.
Please, post your code (minimal, complete and verifiable example) in python tags. Post full traceback in error tags.
Tell us more where this encodings module is expected to come from.
Are you using cx_Freeze?
I think it happened after I installed another version of python .. I am using python 3 and installed python 2 by accident. I am still a beginner so I code something like this.
import math
Radius = float(input("enter the radius"))
Area = round(math.pi,2)*math.pow(Radius,2)
print("Area =",Area)
I don't know what is cx_freeze.
I am puzzled and have no idea what may cause this problem.
cx_Freeze is a set of scripts and modules for freezing Python scripts into executables.
I don't know either, but is there anything that I can do to make all those things return back to its original? like a checkpoint or something, is this error related to system variables?
more Evidence.


Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Fatal Python error: Py_Initialize: unable to load the file system codec ecg1g15 0 174 Feb-12-2019, 12:16 PM
Last Post: ecg1g15
  Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute FatalPythonError 24 5,187 Aug-22-2018, 06:10 PM
Last Post: FatalPythonError
  pip fatal error MikeALC 2 1,476 Mar-06-2018, 09:24 AM
Last Post: MikeALC
  I don't know if it's my error or Python error SkitzGerald 13 1,722 Nov-25-2017, 04:38 PM
Last Post: heiner55
  Error: python.exe application error panoss 5 2,584 Jan-14-2017, 03:05 PM
Last Post: panoss

Forum Jump:

Users browsing this thread: 1 Guest(s)