初心者のメモ

Python enthusiast

Pycharm - Project Interpreterで"nothing to show"

状況

次のディレクトリ構造のとき、child1をPycharmで開いた。

parent
  L .idea
  L child1
  L child2

Project Interpreterを設定しようとしたら、"nothing to show"と表示されるだけで設定をいじれない、次のスクショの画面なった。 f:id:mick3355:20181124165525p:plain

解決方法

一旦Pycharmを閉じ、child1の親ディレクトリにある.ideaディレクトリを削除する。 再び、Pycharmでchild1を開き直せば、Project Interpreterを設定できるようになる。