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,
Sebastian
请先登录再写评论。
Thanks, do I understand correctly that PyCharm was installed using Flatpak? If so, please try installing the standalone version from https://www.jetbrains.com/pycharm/download/ and check if the issue persists there.
It could be a flatpak issue.
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.
Please make sure you are using the latest version: https://www.jetbrains.com/pycharm/download/
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:
The output of `file /usr/bin/python3.11` is the following:
Screenshot:
Here is a zip file with log files. It contains the following files:
Please let me know if you need anything else.
Thanks a lot and kind regards,
Sebastian
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,
Sebastian
Okay great, good to know.
Thanks a lot and all the best, Andrey!