Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.04 KB | None | 0 0
  1.  
  2. TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
  3. fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/edx/app/edxapp/venvs/edxapp-sandbox/bin/pip2 install -i https://pypi.python.org/simple --exists-action w -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt", "failed": true, "msg": "stdout: Looking in indexes: https://pypi.python.org/simple\nProcessing ./common/lib/calc\nProcessing ./common/lib/chem\nProcessing ./common/lib/sandbox-packages\nProcessing ./common/lib/symmath\nCollecting asn1crypto==0.24.0 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 11))\n Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl\nCollecting backports-abc==0.5 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 12))\n Using cached https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl\nCollecting cffi==1.11.5 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 13))\n Using cached https://files.pythonhosted.org/packages/14/dd/3e7a1e1280e7d767bd3fa15791759c91ec19058ebe31217fe66f3e9a8c49/cffi-1.11.5-cp27-cp27mu-manylinux1_x86_64.whl\nCollecting cryptography==2.2.2 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 14))\n Using cached https://files.pythonhosted.org/packages/dd/c2/3a5bfefb25690725824ade71e6b65449f0a9f4b29702cce10560f786ebf6/cryptography-2.2.2-cp27-cp27mu-manylinux1_x86_64.whl\nCollecting enum34==1.1.6 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 15))\n Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl\nCollecting futures==3.2.0 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 16))\n Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl\nCollecting idna==2.7 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 17))\n Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl\nCollecting ipaddress==1.0.22 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 18))\n Using cached https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl\nCollecting lxml==3.8.0 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 19))\n Using cached https://files.pythonhosted.org/packages/1b/e8/ce25c547daf9b84cafea605eb8a5709524fb53e1b3bb5ef6884e561b9d34/lxml-3.8.0-cp27-cp27mu-manylinux1_x86_64.whl\nCollecting matplotlib==1.3.1 (from -r /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt (line 20))\n Using cached https://files.pythonhosted.org/packages/d4/d0/17f17792a4d50994397052220dbe3ac9850ecbde0297b7572933fa4a5c98/matplotlib-1.3.1.tar.gz\n\n:stderr: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support\n ERROR: Command errored out with exit status 1:\n command: /edx/app/edxapp/venvs/edxapp-sandbox/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-W43nEK/matplotlib/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-W43nEK/matplotlib/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' egg_info --egg-base pip-egg-info\n cwd: /tmp/pip-install-W43nEK/matplotlib/\n Complete output (102 lines):\n ============================================================================\n Edit setup.cfg to change the build options\n \n BUILDING MATPLOTLIB\n matplotlib: yes [1.3.1]\n python: yes [2.7.12 (default, Oct 8 2019, 14:14:10) [GCC\n 5.4.0 20160609]]\n platform: yes [linux2]\n \n REQUIRED DEPENDENCIES AND EXTENSIONS\n numpy: yes [not found. pip may install it below.]\n dateutil: yes [dateutil was not found. It is required for date\n axis support. pip/easy_install may attempt to\n install it after matplotlib.]\n tornado: yes [tornado was not found. It is required for the\n WebAgg backend. pip/easy_install may attempt to\n install it after matplotlib.]\n pyparsing: yes [pyparsing was not found. It is required for\n mathtext support. pip/easy_install may attempt to\n install it after matplotlib.]\n pycxx: yes [Couldn't import. Using local copy.]\n libagg: yes [pkg-config information for 'libagg' could not\n be found. Using local copy.]\n freetype: yes [version 18.1.12]\n png: yes [version 1.2.54]\n \n OPTIONAL SUBPACKAGES\n sample_data: yes [installing]\n toolkits: yes [installing]\n tests: yes [nose 0.11.1 or later is required to run the\n matplotlib test suite]\n \n OPTIONAL BACKEND EXTENSIONS\n macosx: no [Mac OS-X only]\n qt4agg: no [PyQt4 not found]\n gtk3agg: no [Requires pygobject to be installed.]\n gtk3cairo: no [Requires cairo to be installed.]\n gtkagg: no [Requires pygtk]\n tkagg: no [TKAgg requires Tkinter.]\n wxagg: no [requires wxPython]\n gtk: no [Requires pygtk]\n agg: yes [installing]\n cairo: no [cairo not found]\n windowing: no [Microsoft Windows only]\n \n OPTIONAL LATEX DEPENDENCIES\n dvipng: no\n ghostscript: no\n latex: no\n pdftops: no\n \n Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/tmp/pip-install-W43nEK/matplotlib/setup.py\", line 268, in <module>\n **extra_args\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/__init__.py\", line 144, in setup\n _install_setup_requires(attrs)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/__init__.py\", line 139, in _install_setup_requires\n dist.fetch_build_eggs(dist.setup_requires)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/dist.py\", line 720, in fetch_build_eggs\n replace_conflicting=True,\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 782, in resolve\n replace_conflicting=replace_conflicting\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 1065, in best_match\n return self.obtain(req, installer)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 1077, in obtain\n return installer(requirement)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/dist.py\", line 787, in fetch_build_egg\n return cmd.easy_install(req)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 679, in easy_install\n return self.install_item(spec, dist.location, tmpdir, deps)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 705, in install_item\n dists = self.install_eggs(spec, download, tmpdir)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 890, in install_eggs\n return self.build_and_install(setup_script, setup_base)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 1158, in build_and_install\n self.run_setup(setup_script, setup_base, args)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 1144, in run_setup\n run_setup(setup_script, args)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 253, in run_setup\n raise\n File \"/usr/lib/python2.7/contextlib.py\", line 35, in __exit__\n self.gen.throw(type, value, traceback)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 195, in setup_context\n yield\n File \"/usr/lib/python2.7/contextlib.py\", line 35, in __exit__\n self.gen.throw(type, value, traceback)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 166, in save_modules\n saved_exc.resume()\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 141, in resume\n six.reraise(type, exc, self._tb)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 154, in save_modules\n yield saved\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 195, in setup_context\n yield\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 250, in run_setup\n _execfile(setup_script, ns)\n File \"/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 45, in _execfile\n exec(code, globals, locals)\n File \"/tmp/easy_install-JY70Oc/numpy-1.17.2/setup.py\", line 31, in <module>\n try:\n RuntimeError: Python version >= 3.5 required.\n ----------------------------------------\nERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\n"}
  4. to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry
  5.  
  6. PLAY RECAP *********************************************************************
  7. localhost : ok=165 changed=34 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement