PyCharm doesn't recognize local interpreter, can use interpreters from other projects
For one of the projects I cloned from GitHub, PyCharm does not detect the local interpreter even though a .venv directory has been created. Even using the File > Invalidate Caches… option does not make a difference.

However, PyCharm does see local interpreters in other projects. I was able to create a dummy project and then run code using that project's local interpreter.
Here is the project in question: https://github.com/jeshraghian/snntorch
Of note is this issue only seems to affect this computer. I could not reproduce it on my other devices.
Anyone have a solution?
I'm using PyCharm 2025.3.3 on Windows 11.
请先登录再写评论。
Hello, Danny W ,
Does it help if you add the existing interpreter and specify the path to python binary in your
.venvfolder?I think you tagged the wrong “Danny” Dinara Tsydenova I think you meant the OP Danny (Although it's impossible to work it out without inspecting the HTML hahaha
Danny W , thanks for pointing that out — you’re absolutely right. Indeed, I meant @Danny. Thanks for catching it!
Dinara Tsydenova I tried that too. It did not make a difference.
@Danny, to check further, please create YouTrack ticket and attach a log archive, which can be found under Help | Collect Logs and Diagnostic Data.