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).
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *