programing:python-language:python-install
差分
このページの2つのバージョン間の差分を表示します。
| 次のリビジョン | 前のリビジョン | ||
| programing:python-language:python-install [2026/07/10 16:11] – 作成 yoko | programing:python-language:python-install [2026/07/10 16:21] (現在) – [Windows] yoko | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Pythonのインストール手順 ====== | ====== Pythonのインストール手順 ====== | ||
| + | 「[[wpjp> | ||
| ===== Ubuntu Linux ====== | ===== Ubuntu Linux ====== | ||
| + | 下記コマンドでインストール。 | ||
| <code bash> | <code bash> | ||
| 行 7: | 行 9: | ||
| $ sudo apt install python-is-python3 | $ sudo apt install python-is-python3 | ||
| </ | </ | ||
| + | |||
| + | 実行確認。 | ||
| + | |||
| + | <code bash> | ||
| + | $ python --version | ||
| + | Python 3.14.4 | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Windows ===== | ||
| + | 下記URLからインストーラを入手し実行する。 | ||
| + | |||
| + | < | ||
| + | |||
| + | 尚、インストールの際には下のチェックを2つとも行い、環境変数に Python のパスを追加する。 | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ==== シリアル用関数を利用する === | ||
| + | Pythonインストール後、コマンドプロンプトを立ち上げ、以下のコマンドを実行してCOMシリアルポート関数を利用できるようにする。 | ||
| + | |||
| + | <code bash> | ||
| + | > pip install pyserial | ||
| + | </ | ||
| + | |||
| + | 以上で、Python の準備は終了。 | ||
| + | |||
| + | |||
| + | |||
programing/python-language/python-install.1783667483.txt.gz · 最終更新: by yoko
