Windowsマシンでやってみました。(Macの続き)
今回はインストールまでです。
まず、Pythonをインストールします。現在最新のVersion3.10.7をダウンロードします。
![](https://dmspace.tsuchida.ne.jp/wp-content/uploads/2022/09/Cursor_と_スクリーンショット_2022-09-26_075718_png-1024x612.png)
ダウンロードしたインストールプログラムを実行します。
□Add Python 3.10 to PATH に✓を入れてください。
![](https://dmspace.tsuchida.ne.jp/wp-content/uploads/2022/09/スクリーンショット_2022-09-26_080413_png-1024x632.png)
無事にインストールが完了しました。
![](https://dmspace.tsuchida.ne.jp/wp-content/uploads/2022/09/Cursor_と_スクリーンショット_2022-09-26_080808_png-1024x637.png)
「コマンドプロンプト」を開いて、「python」と入力します。
Pythonのプロンプト(>>>_)が表示されます。
Ctrl+Zを押してからエンターキーを押して、Pythonプロンプトから抜けます。
![](https://dmspace.tsuchida.ne.jp/wp-content/uploads/2022/09/スクリーンショット_2022-09-26_081117_png-1024x338.png)
「Windows PowerShell」を開いて、
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
と入力します。
![](https://dmspace.tsuchida.ne.jp/wp-content/uploads/2022/09/Cursor_と_スクリーンショット_2022-09-26_082503_png-1024x254.png)
必要なライブラリをインストールします。
python -m pip install pandas
![](https://dmspace.tsuchida.ne.jp/wp-content/uploads/2022/09/Cursor_と_スクリーンショット_2022-09-26_083029_png-1024x526.png)
python -m pip install matplotlib
![](https://dmspace.tsuchida.ne.jp/wp-content/uploads/2022/09/スクリーンショット_2022-09-26_083225_png-1024x669.png)
python -m pip install flask
![](https://dmspace.tsuchida.ne.jp/wp-content/uploads/2022/09/スクリーンショット_2022-09-26_083309_png-1024x428.png)
今回はここまで。次回、Pythonプログラムを実行します。
1件のコメント