Open CarlosAgiledevers opened 6 years ago
Hi everyone, im having an issue while executing vagrant provision comand, it do everything correctly until:
$ vagrant provision ... TASK [EOrchestra, installing extra pip packages] *** ok: [default] => (item=setuptools) => {"changed": false, "cmd": "/home/eorchestra/venv/bin/pip install setuptools", "item": "setuptools", "name": "setuptools", "requirements": null, "state": "present", "stderr": "", "stdout": "New python executable in /home/eorchestra/venv/bin/python2\nAlso creating executable in /home/eorchestra/venv/bin/python\nInstalling setuptools, pip...done.\nRunning virtualenv with interpreter /usr/bin/python2\nRequirement already satisfied (use --upgrade to upgrade): setuptools in /home/eorchestra/venv/lib/python2.7/site-packages\nCleaning up...\n", "stdout_lines": ["New python executable in /home/eorchestra/venv/bin/python2", "Also creating executable in /home/eorchestra/venv/bin/python", "Installing setuptools, pip...done.", "Running virtualenv with interpreter /usr/bin/python2", "Requirement already satisfied (use --upgrade to upgrade): setuptools in /home/eorchestra/venv/lib/python2.7/site-packages", "Cleaning up..."], "version": null, "virtualenv": "/home/eorchestra/venv"} . . . . failed: [default] (item=requests[security]) => {"cmd": "/home/eorchestra/venv/bin/pip install requests[security]", "failed": true, "item": "requests[security]", "msg": "stdout: Downloading/unpacking requests[security]\nDownloading/unpacking urllib3<1.23,>=1.21.1 (from requests[security])\nDownloading/unpacking certifi>=2017.4.17 (from requests[security])\nDownloading/unpacking chardet<3.1.0,>=3.0.2 (from requests[security])\nDownloading/unpacking idna<2.7,>=2.5 (from requests[security])\nDownloading/unpacking pyOpenSSL>=0.14 (from requests[security])\nDownloading/unpacking cryptography>=1.3.4 (from requests[security])\n Running setup.py (path:/tmp/pip-build-d47kGh/cryptography/setup.py) egg_info for package cryptography\n Traceback (most recent call last):\n File \"\", line 17, in \n File \"/tmp/pip-build-d47kGh/cryptography/setup.py\", line 28, in \n \"cryptography requires setuptools 18.5 or newer, please upgrade to a \"\n RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools\n Complete output from command python setup.py egg_info:\n Traceback (most recent call last):\n\n File \"\", line 17, in \n\n File \"/tmp/pip-build-d47kGh/cryptography/setup.py\", line 28, in \n\n \"cryptography requires setuptools 18.5 or newer, please upgrade to a \"\n\nRuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools\n\n----------------------------------------\nCleaning up...\nCommand python setup.py egg_info failed with error code 1 in /tmp/pip-build-d47kGh/cryptography\nStoring debug log for failure in /home/eorchestra/.pip/pip.log\n"}
Basically says: "RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools"
But it is already installed:
$ easy_install --version setuptools 39.0.1 from /usr/local/lib/python2.7/dist-packages (Python 2.7)
$ pip list adium-theme-ubuntu (0.3.4) ansible (2.1.6.0) astroid (1.6.3) backports.functools-lru-cache (1.5) beautifulsoup4 (4.4.1) boto (2.38.0) chardet (2.3.0) configparser (3.5.0) cryptography (1.2.3) duplicity (0.7.6) ecdsa (0.13) enum34 (1.1.6) futures (3.2.0) html5lib (0.999) httplib2 (0.9.1) idna (2.0) ipaddress (1.0.16) isort (4.3.4) Jinja2 (2.8) lazy-object-proxy (1.3.1) lockfile (0.12.2) lxml (3.5.0) MarkupSafe (0.23) mccabe (0.6.1) ndg-httpsclient (0.4.0) numpy (1.11.0) paramiko (1.16.0) pip (9.0.3) pyasn1 (0.1.9) pycrypto (2.6.1) pycurl (7.43.0) pygobject (3.20.0) pylint (1.8.4) pyOpenSSL (0.15.1) python-apt (1.1.0b1+ubuntu0.16.4.1) python-cloudfiles (1.7.10) pyxdg (0.25) PyYAML (3.11) requests (2.9.1) setuptools (39.0.1) singledispatch (3.4.0.3) six (1.10.0) unity-lens-photos (1.0) urllib3 (1.13.1) wheel (0.31.0) wrapt (1.10.11)
in eorchestra/main.yml, change the line 47 to this:
Hi everyone, im having an issue while executing vagrant provision comand, it do everything correctly until:
$ vagrant provision ... TASK [EOrchestra, installing extra pip packages] *** ok: [default] => (item=setuptools) => {"changed": false, "cmd": "/home/eorchestra/venv/bin/pip install setuptools", "item": "setuptools", "name": "setuptools", "requirements": null, "state": "present", "stderr": "", "stdout": "New python executable in /home/eorchestra/venv/bin/python2\nAlso creating executable in /home/eorchestra/venv/bin/python\nInstalling setuptools, pip...done.\nRunning virtualenv with interpreter /usr/bin/python2\nRequirement already satisfied (use --upgrade to upgrade): setuptools in /home/eorchestra/venv/lib/python2.7/site-packages\nCleaning up...\n", "stdout_lines": ["New python executable in /home/eorchestra/venv/bin/python2", "Also creating executable in /home/eorchestra/venv/bin/python", "Installing setuptools, pip...done.", "Running virtualenv with interpreter /usr/bin/python2", "Requirement already satisfied (use --upgrade to upgrade): setuptools in /home/eorchestra/venv/lib/python2.7/site-packages", "Cleaning up..."], "version": null, "virtualenv": "/home/eorchestra/venv"} . . . . failed: [default] (item=requests[security]) => {"cmd": "/home/eorchestra/venv/bin/pip install requests[security]", "failed": true, "item": "requests[security]", "msg": "stdout: Downloading/unpacking requests[security]\nDownloading/unpacking urllib3<1.23,>=1.21.1 (from requests[security])\nDownloading/unpacking certifi>=2017.4.17 (from requests[security])\nDownloading/unpacking chardet<3.1.0,>=3.0.2 (from requests[security])\nDownloading/unpacking idna<2.7,>=2.5 (from requests[security])\nDownloading/unpacking pyOpenSSL>=0.14 (from requests[security])\nDownloading/unpacking cryptography>=1.3.4 (from requests[security])\n Running setup.py (path:/tmp/pip-build-d47kGh/cryptography/setup.py) egg_info for package cryptography\n Traceback (most recent call last):\n File \"\", line 17, in \n File \"/tmp/pip-build-d47kGh/cryptography/setup.py\", line 28, in \n \"cryptography requires setuptools 18.5 or newer, please upgrade to a \"\n RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools\n Complete output from command python setup.py egg_info:\n Traceback (most recent call last):\n\n File \"\", line 17, in \n\n File \"/tmp/pip-build-d47kGh/cryptography/setup.py\", line 28, in \n\n \"cryptography requires setuptools 18.5 or newer, please upgrade to a \"\n\nRuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools\n\n----------------------------------------\nCleaning up...\nCommand python setup.py egg_info failed with error code 1 in /tmp/pip-build-d47kGh/cryptography\nStoring debug log for failure in /home/eorchestra/.pip/pip.log\n"}
Basically says: "RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools"
But it is already installed:
$ easy_install --version setuptools 39.0.1 from /usr/local/lib/python2.7/dist-packages (Python 2.7)
$ pip list adium-theme-ubuntu (0.3.4) ansible (2.1.6.0) astroid (1.6.3) backports.functools-lru-cache (1.5) beautifulsoup4 (4.4.1) boto (2.38.0) chardet (2.3.0) configparser (3.5.0) cryptography (1.2.3) duplicity (0.7.6) ecdsa (0.13) enum34 (1.1.6) futures (3.2.0) html5lib (0.999) httplib2 (0.9.1) idna (2.0) ipaddress (1.0.16) isort (4.3.4) Jinja2 (2.8) lazy-object-proxy (1.3.1) lockfile (0.12.2) lxml (3.5.0) MarkupSafe (0.23) mccabe (0.6.1) ndg-httpsclient (0.4.0) numpy (1.11.0) paramiko (1.16.0) pip (9.0.3) pyasn1 (0.1.9) pycrypto (2.6.1) pycurl (7.43.0) pygobject (3.20.0) pylint (1.8.4) pyOpenSSL (0.15.1) python-apt (1.1.0b1+ubuntu0.16.4.1) python-cloudfiles (1.7.10) pyxdg (0.25) PyYAML (3.11) requests (2.9.1) setuptools (39.0.1) singledispatch (3.4.0.3) six (1.10.0) unity-lens-photos (1.0) urllib3 (1.13.1) wheel (0.31.0) wrapt (1.10.11)