Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Fatal Error in Python
#1
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.
Quote
#2
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.
Quote
#3
Are you using cx_Freeze?
https://github.com/anthony-tuininga/cx_F...issues/399
Quote
#4
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
print(math.pi)
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.
Quote
#5
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.
Quote
#6
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?
Quote
#7
more Evidence.

İmage
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Fatal error in launcher: Unable to create process using '"' rsmldmv 0 336 May-13-2019, 01:34 AM
Last Post: rsmldmv
  Fatal Python error: Py_Initialize: unable to load the file system codec ecg1g15 0 507 Feb-12-2019, 12:16 PM
Last Post: ecg1g15
  Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute FatalPythonError 24 8,812 Aug-22-2018, 06:10 PM
Last Post: FatalPythonError
  pip fatal error MikeALC 2 2,117 Mar-06-2018, 09:24 AM
Last Post: MikeALC
  I don't know if it's my error or Python error SkitzGerald 13 2,010 Nov-25-2017, 04:38 PM
Last Post: heiner55
  Error: python.exe application error panoss 5 2,909 Jan-14-2017, 03:05 PM
Last Post: panoss

Forum Jump:


Users browsing this thread: 1 Guest(s)