1

On my Pop OS system the base Python interpreter is 3.10, and I installed Python 3.12, it works perfectly fine:

img1

With 3.12 I can create virtual environment, run Python files, so it works perfectly:

enter image description here

But when I try to set it in PyCharm, it just doesn't see Python 3.12:

img2

So it sees and recognizes python, python3, python3.10 binaries, but not python3.12, despite python3.12 being there:

enter image description here

Why is that? What should I do?

2
  • 1
    Did you try adding the 3.12 interpreter? See in the first screen, "Add interpreter" next to the interpreter selection dropdown? Commented Nov 5, 2023 at 20:14
  • Inside the "Add interpreter > Select Python Interpreter" dialog, try clicking the "refresh" button (second button from the right at the top). You may be looking at an outdated tree. Does python3.12 appear after that? Commented Nov 5, 2023 at 20:59

1 Answer 1

0

So the problem was that I orignally downloaded Pycharm from snap store, and this version of Pycharm appears to be a bit outdatted and buggy.

I downloaded the newest version from the official website https://www.jetbrains.com/pycharm/download/?section=linux and it works flawlessly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.