LoginSignup
3
4

More than 5 years have passed since last update.

VSCode+Python拡張機能+Minicondaでプロジェクト毎に開発環境を設定する方法

Posted at

目的

  • プロジェクト毎に自動補完等のPython環境を切り替えたい

環境

  • Windows 10
  • VisualStudio Code
  • 拡張機能
    • donjayamanne.python

方法

  1. プロジェクトの.vscode配下にsettings.jsonを配置する。
  2. [ユーザー設定]と同様の設定ファイルを書く。
settings.json
{
    "python.pythonPath": "C:/Users/{user}/Miniconda3/envs/spam/python"    
}

備考

  • [ユーザー設定]をオーバーライドする様子
3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4