title: Why do I keep getting this error when trying to create a virtual environment with Python 3 on MacOS?
body: <p>So I'm following a book that's teaching me how to make a Learning Log using Python and the Django web framework. I was asked to go to a terminal and create a directory called "learning_log" and change the working directory to "learning_log" (did that with no problems). However, when I try to create the virtual environment, I get an error (seen at the bottom of this post). Why am I getting this error and how can I fix this to move forward in the book?</p>
  
  <p>I already tried installing a virtualenv with pip and pip3 (as the book prescribed). I was then instructed to enter the command: </p>
  
  <p>learning_log$ virtualenv ll_env</p>
  
  <p>And I get: </p>
  
  <p>bash: virtualenv: command not found</p>
  
  <p>Since I'm using Python3.6, I tried: </p>
  
  <p>learning_log$ virtualenv ll_env --python=python3</p>
  
  <p>And I still get:</p>
  
  <p>bash: virtualenv: command not found</p>
  
  <p><code>Brandons-MacBook-Pro:learning_log brandondusch$ python -m venv ll_env
  Error: Command '['/Users/brandondusch/learning_log/ll_env/bin/python', '-Im', 'ensurepip', '--upgrade', '-
  -default-pip']' returned non-zero exit status 1.</code></p>