0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【初心者向け】Visual Studo CodeでPythonを使うまでの環境構築

Posted at

1. Visual Studio Codeをインストールする

下のリンクを踏み、公式サイトにアクセスします。

Visual Studuio Codeをダウンロードするというボタンを押します。

スクリーンショット 2024-12-30 215021.png

Windowsを選択すると、セットアップ用のexeファイルがダウンロードされます。

スクリーンショット 2024-12-30 220649.png

同意するボタンを選択し、次へを押します。

image.png

保存先が問題ないようでしたら、次へを押します。

スクリーンショット 2024-12-30 221349.png

次へを押します。

image.png

好みですが、デスクトップ上にアイコンを作成するを選択します。
次へを押します。

image.png

インストールを押し、待ちます。

image.png

下のような画面がでれば、Visual Studio Codeのセットアップは完了です。

image.png


2.Visual Studio Codeを日本語化する。

まず、Visual Studio Codeを立ち上げます。

image.png

左下の拡張機能マークをクリックします。

スクショ.jpg

japaneseと検索し、日本語化の拡張機能をインストールします。

image.png

インストールが終了したら、Visual Studio Codeを再起動します。


3. Visual Code StudioにPythonをインストールする

Pythonの公式サイトにアクセスします。

Stable Release(安定板)のWindows(64bit)をダウンロードします。

image.png

Add python.exe to PATHにチェックをいれてください。
その後Install Nowを選択します。

image.png

Pythonがセットアップされるのをまちます。

image.png

下のような画面が表示されれば、Pythonのセットアップは完了です。

image.png


3. VSCodeでPythonを使えるように設定する

Ctrl + Shigt + P を押します。
Python Select Interpreterを選択します。

image.png

おすすめとされているパスを選びます。
(2でインストールしたPythonの保存場所です。)

image.png

...からターミナルを選択し、新しいターミナルを開きます。

image.png

下のコマンドを打ちます。

python --version

先ほどインストールしたPythonのバージョンが表示されたら成功です。

image.png

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?