PyCharm Community Edition not recognizing latest Python interpreter (no access to root?)

Hi everybody,

I want PyCharm CE to use the latest Python interpreter that is installed on my machine (running latest Debian Bookworm).

Python 3.11 is properly installed in the following directory: /usr/bin/python3.11

However, when I want to set the 3.11 interpreter in the interpreter settings, PyCharm doesn't show me the actual folder structure of the directory and links to an older interpreter (3.10):

Can anyone help me figure this out?

Thanks a lot in advance and kind regards,


Please make sure you are using the latest version:

If the issue persists, could you please provide some additional info?

- The output of `stat /usr/bin/python3.11` and `file /usr/bin/python3.11`
- logs from **Help | Collect Logs and Diagnostic Data**

Hi Andrey,

Thanks a lot for your reply.
I'm on the latest version (2023.2).

The output of `stat /usr/bin/python3.11` (in German, sorry) is the following:

Datei: /usr/bin/python3.11
Größe: 6831704       Blöcke: 13344      EA Block: 4096   reguläre Datei
Gerät: 259/2    Inode: 4221088     Verknüpfungen: 1
Zugriff: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Zugriff: 2023-08-23 07:22:14.376183529 +0200
Modifiziert: 2023-03-13 13:18:29.000000000 +0100
Geändert: 2023-07-22 15:22:27.433411379 +0200
Geburt: 2023-07-22 15:22:27.217411390 +0200

The output of `file /usr/bin/python3.11` is the following:

/usr/bin/python3.11: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/, BuildID[sha1]=ac175ec7666754cf818b271b4fdc2761ac6865f2, for GNU/Linux 3.2.0, stripped


Here is a zip file with log files. It contains the following files:

  • idea.log
  • open-telemetry-metrics.2023-08-24-07-41-42.csv
  • threadDump-20230824-075751.txt

Please let me know if you need anything else.

Thanks a lot and kind regards,


Thanks, do I understand correctly that PyCharm was installed using Flatpak? If so, please try installing the standalone version from and check if the issue persists there. 

It could be a flatpak issue. 


Hi Andrey,

Yes, PyCharm CE was installed using flatpak.

I just got around to uninstalling it via flatpak and reinstalling it via the standalone version and this fixed the issue - thanks! :)

How would I go about reporting this as a bug? Is there any way I could contribute to getting this fixed?

Thanks and best regards,

Afaik, we don't distribute via Flatpak officially, so you should probably report this to Flatpak devs. You can also try PyCharm Snap distribution, which, unlike Flatpak, is official. 
But, I would recommend keep using the standalone version. Flatpak/Snap use sandboxed environment which may block access to some parts of the file system, which is not good for an IDE.

Okay great, good to know.
Thanks a lot and all the best, Andrey!