12
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PythonとPycharmの環境設定

Posted at

#はじめに
今回windowsでPythonを使いたく、環境設定はつまずきやすいので備忘録として。

#背景
Anaconda、Pycharmをインストールしたところで
cannot set up a python SDKと表示されます。
image.png

よくよく調べてみるとアナコンダインストール時にpathを指定しなかったことが原因らしい
アンインストール後、再インストール

#Anacondaのインストール
以下のサイトからインストールできます。
https://www.continuum.io/downloads

インストール時はこの2つにチェックを入れます。
スクリーンショット 2017-12-12 12.34.47.png

インストール後はAnaconda Promptを開き、pythonがインストールされていることを確認
image.png

ライブラリを追加したい場合はこのコマンドでinstallの後ろに追加したいライブラリを追記

python -m pip install 

#Pycarmの環境設定
以下のサイトからPycharmをインストールします。
https://www.jetbrains.com/pycharm/download/

Pycharmのfile → settings → projectinspecterでパッケージをインストールします。

image.png

+ボタンを押し、インストールしたいパッケージを検索
image.png

install packageを押して完了

#参考にさせて頂きました
Anaconda で Python 環境をインストールする

12
14
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
12
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?