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

IT Questions BankCategory: DevNetWhat is a standard command to create a Python virtual environment?

Question:
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

Exam with this question: DevNet Associate (v1.0) – Module 7 Exam Answers

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x