How can I resolve this error?
13:56 ~ $ python3.6 -m venv newvenv
Error: Command '['/home/betabrain/newvenv/bin/python3.6', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
How can I resolve this error?
13:56 ~ $ python3.6 -m venv newvenv
Error: Command '['/home/betabrain/newvenv/bin/python3.6', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
We don't have ensurepip installed on PythonAnywhere. That's a bit of an oversight. You can still use virtualenvwrapper to create virtualenvs (it's generally easier and better managed than doing it with venv) and then install pip.
I see. I didn't know that virtualenvwrapper accepts paths, but as it turns out, it does, and my problem is solved.
Thanks Glenn