infoMore than 3 years have passed since last update.
anacondaとpycharmによるpython3開発環境セットアップ
Last updated at Posted at 2020-02-29
概要
- ローカルにPython3開発環境を用意する場合
- 端末買い替え、端末支給などで端末が変わった場合、速攻環境設定できる用のメモ
- ライブラリとか揃えるの面倒なのでanacondaを利用
- IDEはPycharmを利用。VSCodeよりよさそう。
導入
初期設定
- インタプリタの場所が設定されていないのでanacondaの場所を探してセット
- 条件によってはデフォルトはUsersの下だったりする。私の場合はoptにあった。
- anaconda3のインタプリタ設定が登録されているはず
- 使いたいフレームワークを左から選択
- 素のPythonの場合はPurePythonを選択
- [create]を押してプロジェクトを作成
動作設定
- 動作設定を[Run][Edit Configurations...]
- [Add New Configuration][Python]から選択
動作確認
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
What you can do with signing up