You are writing a Python script on a new system and realize it doesn't have the required module. Which command would you use to install this module?
- install-module module-name
- pip install module-name
- py-install module-name
- python install module-name
You would use pip install module-name to install the required Python module. pip is the standard package installer for Python, and it allows you to easily download and install Python packages from the Python Package Index (PyPI).
Loading...
Related Quiz
- If you want to make a class attribute read-only, you'd typically use the _______ decorator.
- What is the result of the expression type((1,))?
- Which Seaborn function would you use to visualize a bivariate distribution of two variables?
- In a binary tree, a node with no children is called a _____.
- In Matplotlib, how do you add a title to a plot?