⚑ IT Wisdom I wrote a recursive function without a base case. My therapist says I'm making progress.
Skilled Practitioner
4249 XP 1751 to Expert
Objective: Create a venv, activate it, and confirm Python is running from the venv path.
Instructions

In your terminal, run these commands in sequence:

mkdir lab12 && cd lab12
python3 -m venv venv
source venv/bin/activate
which python3
python3 --version
pip --version

Your which python3 output will show your own path. The important thing is that it ends with venv/bin/python3.

Paste only the three output lines (from which python3, python3 --version, and pip --version) below. Your output will look similar to this β€” the exact path will differ:

/home/emmy/lab12/venv/bin/python3
Python 3.11.9
pip 24.0 from /home/emmy/lab12/venv/lib/python3.11/site-packages/pip (python 3.11)

Submit your actual output.

Starter Code
mkdir lab12 && cd lab12
python3 -m venv venv
source venv/bin/activate
which python3
python3 --version
pip --version
πŸ’‘ Show Hint
The key check is that "which python3" shows a path containing "venv/bin/python3" β€” not "/usr/bin/python3". If you see /usr/bin/, the venv is not active.
Paste Your Output
Next Lab β†’