Python error: Failed to import encodings module

Describe the Bug

Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = ‘/opt/cursor-bin/cursor-bin.AppImage’
isolated = 0
environment = 1
user site = 1
safe_path = 0
import site = 1
is in build tree = 0
stdlib dir = ‘/install/lib/python3.11’
sys._base_executable = ‘/opt/cursor-bin/cursor-bin.AppImage’
sys.base_prefix = ‘/install’
sys.base_exec_prefix = ‘/install’
sys.platlibdir = ‘lib’
sys.executable = ‘/opt/cursor-bin/cursor-bin.AppImage’
sys.prefix = ‘/install’
sys.exec_prefix = ‘/install’
sys.path = [
‘/install/lib/python311.zip’,
‘/install/lib/python3.11’,
‘/install/lib/python3.11/lib-dynload’,
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named ‘encodings’

Steps to Reproduce

I just downloaded the latest cursor from arch. This only happens when i run the appimage cursor, when i run the extracted cursor this doesn’t happen?

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.3.3
VSCode Version: 1.99.3
Commit: e589175333a2d938c3d944f9bf0993155e655e70
Date: 2025-07-26T19:23:06.812Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.15.8-arch1-1

Does this stop you from using Cursor

Yes - Cursor is unusable

Thanks for the report! Please update to the latest version (1.4.5) and retest. Please let us know, if the issue persists after updating.