close

[Solved] Fatal Python error on Windows 10 ModuleNotFoundError: No module named ‘encodings’

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Fatal Python error on Windows 10 ModuleNotFoundError: No module named ‘encodings’ in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Fatal Python error on Windows 10 ModuleNotFoundError: No module named ‘encodings’ Error Occurs?

Today I get the following error Fatal Python error on Windows 10 ModuleNotFoundError: No module named ‘encodings’ in python. So Here I am Explain to you all the possible solutions here.

How To Solve Fatal Python error on Windows 10 ModuleNotFoundError: No module named ‘encodings’ Error ?

  1. How To Solve Fatal Python error on Windows 10 ModuleNotFoundError: No module named 'encodings' Error ?

    To Solve Fatal Python error on Windows 10 ModuleNotFoundError: No module named 'encodings' Error This issue has been addressed here in this thread. Apparently, running the Python setup as an administrator and/or correctly setting the environment variables solved this issue.

  2. Fatal Python error on Windows 10 ModuleNotFoundError: No module named 'encodings'

    To Solve Fatal Python error on Windows 10 ModuleNotFoundError: No module named 'encodings' Error This issue has been addressed here in this thread. Apparently, running the Python setup as an administrator and/or correctly setting the environment variables solved this issue.

Solution 1


I ran into this same issue on Windows 10. Here’s how I fixed it:

  1. Open your ‘Environment Variables‘ (Under ‘System Properties‘).
  2. In the window that opens, select the ‘Path‘ row, then click the ‘Edit…‘ button.
  3. There should be two environment variables C:\Python37-32\Scripts\ and C:\Python37-32\ Then click ‘OK‘ (Make sure to check that these path values correspond to the location and version of your Python install.)
  4. Next, in the top portion of the ‘Environment Variables‘ window, look for the PYTHONHOME variable and make sure that it is also set to C:\Python37-32

Solution 2

This issue has been addressed here in this thread. Apparently, running the Python setup as an administrator and/or correctly setting the environment variables solved this issue.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read