PythonAnywhere `python3.6 -m venv test` Results in Error -
i'm trying use python3.6 -m venv test
directly in pythonanywhere create virtualenv. wanted use method believe more portable other environments virtualenvwrapper might not set up.
when run command (in pa environment has been upgraded use python 3.6) 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.
pythonanywhere dev here: appears bug in ubuntu 14.04 (and apparently 15.04), we're based on. (switching 16.04 image is, coincidentally, we're working on right now.)
this ask ubuntu question has various suggestions; here's 1 i've made 100% works on pythonanywhere:
python3.6 -m venv --without-pip test source test/bin/activate curl https://bootstrap.pypa.io/get-pip.py | python deactivate source test/bin/activate
Comments
Post a Comment