What is a standard command to create a Python virtual environment?

IT Exam Items RepositoryCategory: DevNetWhat is a standard command to create a Python virtual environment?

What is a standard command to create a Python virtual environment?

  • sudo apt-get install python3-pip
  • pip install [options] [package-index-options]...
  • python3 -m venv /path/to/new/virtual/environment
  • source bin/activate

Related exam: DevNet Associate (v1.0) – Module 7 Exam Answers