In PyCharm, whenever I try to add new Project Interpreters, two duplicated entries are created.
For example, after adding 2.7.10 python.exe, interpreter list contain
It seems to be some kind of bug in PyCharm.
As a workaround, you may remove duplicated entries manually. They are located in config file in PyCharm preferences directory. Default path is ~/.PyCharmxy/config/options/jdk.table.xml
, where xy represents version (e.g. PyCharm40
for PyCharm 4.x).
Each
element represents single configured interpreter. To remove duplicates simply find elements with subelement
tag.
Sample entry looks like below. (1) in name indicates duplicate.
(...) // a lot of other fields
Answer is based on The mystery of PyCharm and duplicate interpreters blog post.