 2: Create a Virtual Environment</h3>
<p>Create a virtual environment to isolate the project's dependencies.</p>
<pre><code class="language-bash">python -m venv myenv
</code></pre>
<h3 id="step-3-activate-the-virtual-environment">Step 3: Activate the Virtual Environment</h3>
<p>Activate the virtual environment.</p>
<h4 id="on-windows">On Windows</h4>
<pre><code class="language-bash">myenv\Scripts\activate
</code></pre>
<h4 id="on-macoslinux">On macOS/Linux</h4>
<pre><code class="language-bash">source myenv/