Python installation and venv (Pythonインストールと仮想環境構築)

Python

Pythonインストール

Microsoft Storeからインストール

バージョン確認

python --version

Python仮想環境

仮想環境構築

python -m venv folder

仮想環境有効化・無効化

cd folder

有効化

.\Scripts\Activate.ps1

無効化

deactivate

参考

Windows での Python (初心者向け)
Windows で初めて Python を使用する場合に役立つスタート ガイドです。
Welcome to Python.org
The official home of the Python Programming Language
Python 3.13 documentation
The official Python documentation.
venv --- 仮想環境の作成
ソースコード: Lib/venv/ The venv module supports creating lightweight "virtual environments", each with their own independent ...
タイトルとURLをコピーしました