File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,29 @@ Exercise 1
142142 To test a local pip install:
143143
144144 - Create a new folder outside of our example project
145- - Create a new virtual environment (:ref: `dependency_management `)
145+ - Create a new virtual environment and activate it (more on this in :ref: `dependency_management `)
146+
147+ .. hint :: To create and activate a virtual environment
148+ :class: dropdown
149+
150+ .. tabs ::
151+
152+ .. tab :: Unix/macOS
153+
154+ .. code-block :: bash
155+
156+ python -m venv .venv
157+ source .venv/bin/activate
158+ which python
159+
160+ .. tab :: Windows
161+
162+ .. code-block :: bat
163+
164+ python -m venv .venv
165+ .venv\Scripts\activate
166+ where python
167+
146168 - Install the example package from the project folder
147169 into the new environment::
148170
You can’t perform that action at this time.
0 commit comments