1
resposta

Erro ao rodar o seguinte comando: virtualenv --always-copy venv-django-todolist

 virtualenv  --always-copy  venv-django-todolist
Using base prefix '/usr'
New python executable in /vagrant/jenkins-todo-list/venv-django-todolist/bin/python3
Also creating executable in /vagrant/jenkins-todo-list/venv-django-todolist/bin/python
Installing setuptools, pip, wheel...

  Complete output from command /vagrant/jenkins-tod...todolist/bin/python3 - setuptools pip wheel:
  Created temporary directory: /tmp/pip-ephem-wheel-cache-8085yuv1
Created temporary directory: /tmp/pip-req-tracker-uf3yk6cx
...
Request header has "max_age" as 0, cache bypassed
Cleaning up...
Removed build tracker '/tmp/pip-req-tracker-uf3yk6cx'
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/_internal/cli/base_command.py", line 153, in _main
    status = self.run(options, args)
  File "/usr/local/lib/python3.6/dist-packages/virtualenv_support/pi

```...

File "/usr/local/lib/python3.6/dist-packages/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/vendor/urllib3/poolmanager.py", line 420, in _init raise ProxySchemeUnknown(proxy.scheme)

pip._vendor.urllib3.exceptions.ProxySchemeUnknown: Not supported proxy scheme None

...Installing setuptools, pip, wheel...done. File "/usr/local/lib/python3.6/dist-packages/virtualenv.py", line 963, in call_subprocess raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode)) OSError: Command /vagrant/jenkins-tod...todolist/bin/python3 - setuptools pip wheel failed with error code 2

1 resposta

Olá Bernardo, tudo bem? Peço desculpas pela demora em ti responder! Talvez uma solução, pode ser executar esse comando da seguinte forma:

python -m venv --copies venv-django-todolist

Tenta dessa forma e fala pra gente de funcionou!