C.W.K.
Stream
Quiz · 5 questions

🐍 pip

Python's official, default package installer

Level 0Newbie
0 XP0/55 lessons0/16 achievements
0/80 XP to next level80 XP to go0% complete

Quiz

01What command creates an isolated Python virtual environment?
Hint
It's the stdlib module 'venv' invoked via -m.
02Which command outputs your installed packages in requirements format?
Hint
Verb that means 'lock the current state'.
03What does 'pip install -e .' do?
Hint
E for 'editable' — the dev workflow for libraries.
04You see 'error: externally-managed-environment' on macOS. What's the right fix?
Hint
It's the same answer as 'how should I install Python packages, ever'.
05Why is requirements.txt not a true lockfile?
Hint
What does a real lockfile capture that pip freeze doesn't?
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.