Having the same issue in 0.46.2, installed with AppImage on Fedora 40.
Cursor:
Version: 0.46.2
VSCode Version: 1.96.2
Commit: 84b9c6d907219bb8c2874f299540eb6a079187a0
Date: 2025-02-23T01:17:13.048Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.12.13-100.fc40.x86_64
Linux version :
$ uname -a
Linux localhost.localdomain 6.12.13-100.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Feb 8 17:10:01 UTC 2025 x86_64 GNU/Linux
$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
virtualenv version:
$ source virtualenv/bin/activate
$ python --version
Python 3.12.8
System python:
$ which python
/usr/bin/python
$ python --version
Python 3.12.8
Python and flake8 work correctly inside the shell with alex-petrenko’s workaround. However that was unable to fix flake8, pylint, and a few other issues I was seeing.
jlcheng suggestion at
Fatal Python error: Failed to import encodings module - #8 by jlcheng fixed all my issues.