r/pycharm • • 19d ago

Help: invalid interpreters

Post image

I have recently had some problems with my interpreter on a group project which is on onedrive. I have now solved the problem, but i have loads of invalid interpreters which I cannot remove using the remove interpreter button "-". How do I remove them?

EDIT: I managed to solve using the procedure in the link in u/casualcoder0805 's comment. Just open the specified path and edit the xtm file in NotePad++ by deleting the old interpreters from <jdk version="2"> to <jdk> looking at the name <name value="..." /> to know which interpreter is which.

3 Upvotes

5 comments sorted by

3

u/casualcoder0805 18d ago

There's a bug (link). Should be fine with leaving them until it's fixed.

2

u/Sweaty_Pilot7004 18d ago

OMG, it worked, THANK YOU!

1

u/twofiveone1 15d ago

I added a feature to my PyCharm plugin BetterPy in the last release. Feel free to give it a try and let me know how it works for you!

0

u/ProsodySpeaks 19d ago

Me too. Seems every interpreter i ever added is still there

-2

u/Stock-Side-8714 19d ago

Selecting one and pressing DEL key?