Fatal Python error: Failed to import encodings module

I ended up extracted the contents of the app image then running the squashfs-root/usr/bin/cursor file within the AppImage directly.

  1. Create a new, empty directory, e.g., $HOME/cursor-hack
  2. Download the Cursor AppImage to the directory
  3. Run
    Cursor-${x_y_z}-${checksum}.deb..glibc2.25-x86_64.AppImage --appimage-extract
  4. Run $HOME/cursor-hack/squashfs-root/usr/bin/cursor

If I were to run the AppImage directly, then I’d see this in the output panel

The expected output by extracting and accessing squashfs-root/usr/bin/cursor

It works for now, I think.

1 Like