D
D
domanskiy2022-01-23 00:31:25
Debian
domanskiy, 2022-01-23 00:31:25

How to make PyCharm see Python 3.10 installed on a Debian 11 system?

It costs Debian 11.
Python 3.10.1 is installed.
In the system, through the terminal, 3.9 and 3.10.1 versions are visible, i.e. python3.10 --version produces a Python 3.10.1 response.

Installed Pycharm.
Tried with apt install.
Today via installation via downloading .tar.gz etc. Everything is standard.
Pycharm stubbornly does not see python 3.10 when installing the environment.
If you select System Interpreter, it sees python3 and python3.9.
In both cases it is 3.9.

What to do? I need 3.10 for the project.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2022-01-23
@domanskiy

It is not necessary to install the interpreter into the system through a regular package manager or from source.
Use pyenv (don't forget to install the libraries ).
To install pyenv curl https://pyenv.run | bashand follow the instructions.
Install Python pyenv install 3.10.1
Create a virualenv and work in it so as not to break the system.

O
Oksana ..., 2022-01-23
@deniz1983

Pycharm stubbornly does not see python 3.10 when installing the environment.
How did they check? When creating a new project, if the desired version is not visible from the drop-down list that Base interpreter, then click on "..." to the right and look for the required version of Python in the folders.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question