Isolate Your Project's Packages
Create a virtual environment and record its dependencies.
A intermediate Linux challenge worth 10 points. Solve it hands-on in a real Linux environment in your browser - no local setup, no fake shells.
The Challenge
Scenario: /home/labuser/lab has no virtual environment yet, and no requirements.txt recording what it depends on.
Task: From /home/labuser/lab, create a virtual environment named venv with --system-site-packages, activate it, and run pip freeze > requirements.txt (it should list pytest, already installed system-wide). Run check when ready.