From d5b96f8fa793302e73766c37135fc715c7eddde1 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singh Date: Fri, 8 May 2026 15:06:32 +0530 Subject: [PATCH] Improve Git Bash virtual environment activation docs --- docs/installation.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index f3a8ab24..917e1406 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -74,7 +74,8 @@ Virtual environments are independent groups of Python libraries, one for each project. Packages installed for one project will not affect other projects or the operating system's packages. -Python comes bundled with the :mod:`venv` module to create virtual +Python comes bundled with the :mod:`venv` + module to create virtual environments. @@ -125,6 +126,13 @@ Before you work on your project, activate the corresponding environment: > .venv\Scripts\activate + .. note:: + + If you are using Git Bash on Windows, activate the + virtual environment with: + + ``source .venv/Scripts/activate`` + Your shell prompt will change to show the name of the activated environment.