Python Forum
ModuleNotFoundError: no module named 'encodings'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ModuleNotFoundError: no module named 'encodings'
#1
Hello everyone,

I have Python 3.7.5 on Windows 10 and it has worked fine for the most part. But lately whenever I've tried to use it, I get this encodings module not found error. I have looked through my directory and it is in there. I have uninstalled and reinstalled it multiple times but it is the same result every time. After asking around I was able to get a workaround using double quotations for spacing and -E function, but it only works for some things and I can't use Python entirely just using that. I have been able to install\upgrade some packages using that method though. I had to take it off the path to get that to work, and if Python is on the path, it won't work at all. I've asked for help all over the internet and either don't get any responses at all or the person that does doesn't use Windows and can't really help me. I don't know much about programming and I'm really getting desperate because I can't find answers anywhere. So if anyone can help me out here, I'd be so grateful!
Reply
#2
  • do you have more than one version of python installed?
  • what's printed when you run the following from command line?
  • pip -V
  • python -V
  • what is the actual package name?
Also, please show code, hard to do anything without.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 839 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 23,596 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 2,504 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,413 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,482 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,310 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 1,019 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 8,860 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 993 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  ModuleNotFoundError: No module named 'omsdk.sdkproto' donvito7 4 1,817 Oct-20-2022, 02:56 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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