I'm trying to use python3.6 -m venv test
directly in PythonAnywhere to create a virtualenv. I wanted to use this method as I believe it is more portable to other environments where virtualenvwrapper might not be set up.
When I run the command (in a PA environment that has been upgraded to use Python 3.6) I get the following error.
12:34 ~ $ python3.6 -m venv test
Error: Command '['/home/dpottsagilisys/test/bin/python3.6', '-Im', 'ensurepip',
'--upgrade', '--default-pip']' returned non-zero exit status 1.