Skip to content

ModuleNotFoundError: No module named 'encodings' #909

Open
@ArkadiuszMichalski

Description

@ArkadiuszMichalski

Hi, I use Win7 and download Winpython64-3.8.6.0dot.exe. When I run WinPython Command Prompt.exe, pass python and press Enter then get this error:

C:\Users\Arek\Desktop\WPy64-3860\scripts>python
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = 'C:\Users\Arek\Desktop\WPy64-3860\python-3.8.6.amd64\python.exe
'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys._base_executable = '\u0158E'
  sys.base_prefix = '.'
  sys.base_exec_prefix = '.'
  sys.executable = '\u0158E'
  sys.prefix = '.'
  sys.exec_prefix = '.'
  sys.path = [
    'C:\\Users\\Arek\\Desktop\\WPy64-3860\\python-3.8.6.amd64\\python38.zip',
    '.\\DLLs',
    '.\\lib',
    '',
  ]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the file
system encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00001c38 (most recent call first):
<no Python frame>

C:\Users\Arek\Desktop\WPy64-3860\scripts>

I have same problem with oryginal python-3.9.1-embed-amd64 when try running python.exe (from official page).

The important thing is that file winpython\python-3.8.6.amd64\python.exe from your project works fine (don't get any error). Any tips on what's the problem? I need access to pip (for install module) and to run py files in portable way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions