PyCharm 2023.3.2 PE on Linux Mint, how to use existing venv ?

PyCharm insists on "invalid python interpreter selected for the project" and it also doesnt find installed modules (kivy et.c.) whatever solutions I google.

Python 3.9 env created with “python3 -m venv .venv”

This is really driving me crazy - what am I doing wrong ?

0

Answering myself:

Newbie error!

 

Whatever I did wrong the following resolved my problem:

 

Quit PyCharm.

Start PyCharm

Close project

Open desired project (in my case $HOME/$USER/prj/Android

Wait a second or two while PyCharm is indexing…

Thats it, all is well!

 

Sorry for the waste of bandwidth.

0

请先登录再写评论。