Why do I keep getting this error when trying to create a virtual environment with Python 3 on MacOS?
I had the same error. I restarted my computer and tried it again, but the error was still there. Then I tried python3 -m venv ll_env and it moved forward.
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?
I already tried installing a virtualenv with pip and pip3 (as the book prescribed). I was then instructed to enter the command: 
learning_log$ virtualenv ll_env
And I get: 
bash: virtualenv: command not found
Since I'm using Python3.6, I tried: 
learning_log$ virtualenv ll_env --python=python3
And I still get:
bash: virtualenv: command not found
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.