背景・動機 IntelliJで開発するとき、依存ライブラリ(External Libraries)を手元に用意しておかないとジャンプとか補完とか便利機能が効かなくなる。シームレスにOSSの中まで覗きたいのに。 ただnpmならProject(intellijのProjectのこと。大体Gitのリポジトリ単位)のディレクトリ以下にしか影響を及ぼさないので問題ないのだが、 pythonのpipのデフォだと、全Projectから参照可能なinstallをするため、純粋な依存関係が見えにくくなる。 Project毎にpip installして、lib置き場がごちゃ混ぜに汚れるのはちょっと......(潔癖症) というわけで、IntelliJのinterpreterをDockerに繋ぐことで、コンテナ内のExternal Libraryを参照させてみた1。 方法 PyCharmでの開発でDockerを