Python Forum
Python 36-32 problem encoding module not found
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 36-32 problem encoding module not found
#1
I need somehelpwith Python 36-32 and 38-32
I have been using sublime text 3 asmy ide for about 1 year now and everything was fine -I tried to change to Pycharm 2020 - I was going to use sublime 3 as my IDE for python36-32 and the Pycharm2020 forthe IDE forPython38-32. Unfortunatly snt wrong as nomatter which IDE I use I get the following
Python -v info


Microsoft Windows [Version 10.0.18363.720]
© 2019 Microsoft Corporation. All rights reserved.

C:\Users\mkgrt>python
Fatal Python error: Py_Initialize: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00001688 (most recent call first):

C:\Users\mkgrt>python -v
import _frozen_importlib # frozen
import _imp # builtin
import sys # builtin
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'nt' # <class '_frozen_importlib.BuiltinImporter'>
import _thread # previously loaded ('_thread')
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import _weakref # previously loaded ('_weakref')
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import 'winreg' # <class '_frozen_importlib.BuiltinImporter'>
# installing zipimport hook
import 'zipimport' # <class '_frozen_importlib.BuiltinImporter'>
# installed zipimport hook
Fatal Python error: Py_Initialize: unable to load the file system codec
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'encodings'

Checking Pytghon36-32

C:\Users\mkgrt\AppData\Local\Programs\Python\Python36-32\Lib\encodings
the encodings in in the Lib -I have tried the following
uninstalled Python36-32 / Python38-32 / Pycharmcreated the PYTHONPATH and PYTHONHOME and nothing works - Any Help would be appreciated thank you in advance
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  problem with memory_graph module akbarza 3 297 Mar-04-2024, 10:15 AM
Last Post: snippsat
  problem using coloeama module akbarza 3 513 Jan-08-2024, 07:31 AM
Last Post: akbarza
  problem in using subprocess module akbarza 5 944 Sep-24-2023, 02:02 PM
Last Post: snippsat
  problem in import module from other folder akbarza 5 1,259 Sep-01-2023, 07:48 AM
Last Post: Gribouillis
  problem in using pyqrcode module to create QRcode akbarza 9 1,793 Aug-23-2023, 04:17 PM
Last Post: snippsat
  pyside6 module not found ForeverNoob 4 1,270 Aug-18-2023, 04:36 PM
Last Post: snippsat
  I found a problem with Python Lahearle 12 1,395 Jul-20-2023, 10:58 PM
Last Post: Pedroski55
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 934 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  Module Not Found Error bitoded 4 1,344 Jan-01-2023, 09:08 AM
Last Post: bitoded
  Problem with module time and leap seconds Pedroski55 3 1,189 Oct-07-2022, 11:27 PM
Last Post: Pedroski55

Forum Jump:

User Panel Messages

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