-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I get an error while installing - The command '/bin/bash -c apt-get install -y python-dev python-pip graphviz graphviz-dev libxml2-dev libxslt-dev && rm -rf /var/lib/apt/lists/* && pip2 install virtualenvwrapper==4.8.2 && echo "export WORKON_HOME=$HOME/.virtualenvs" > ~/.profile && echo "source /usr/local/bin/virtualenvwrapper.sh" > ~/.profile && source ~/.profile && mkvirtualenv -p python2.7 discoursegraphs' returned a non-zero code: 1
The full output is given below
`Collecting scandir; python_version < "3.5" (from pathlib2<3,>=2.3.3; python_version < "3.4" and sys_platform != "win32"->virtualenv->virtualenvwrapper==4.8.2)
Downloading https://files.pythonhosted.org/packages/df/f5/9c052db7bd54d0cbf1bc0bb6554362bba1012d03e5888950a4f5c5dadc4e/scandir-1.10.0.tar.gz
Building wheels for collected packages: stevedore, unknown, unknown, filelock, unknown, scandir
Running setup.py bdist_wheel for stevedore: started
Running setup.py bdist_wheel for stevedore: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/f2/da/da/c4d8e81b611d95cc588f65ab4f8997f0a4b51e66df071e11f0
Running setup.py bdist_wheel for unknown: started
Running setup.py bdist_wheel for unknown: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/27/c0/26/4a2f63cf61535cc65dcfbdfe1aaaefe5bc956a3eeef44037ea
Running setup.py bdist_wheel for unknown: started
Running setup.py bdist_wheel for unknown: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/26/71/44/c8fdeed2c1a7b49783e1d1435d94c564fd6bfe7f1e3eeba14b
Running setup.py bdist_wheel for filelock: started
Running setup.py bdist_wheel for filelock: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/66/13/60/ef107438d90e4aad6320e3424e50cfce5e16d1e9aad6d38294
Running setup.py bdist_wheel for unknown: started
Running setup.py bdist_wheel for unknown: finished with status 'error'
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-714n8d/unknown/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmpRKYvJXpip-wheel- --python-tag cp27:
Traceback (most recent call last):
File "", line 1, in
IOError: [Errno 2] No such file or directory: '/tmp/pip-build-714n8d/unknown/setup.py'
Failed building wheel for unknown
Running setup.py clean for unknown
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-714n8d/unknown/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" clean --all:
Traceback (most recent call last):
File "", line 1, in
IOError: [Errno 2] No such file or directory: '/tmp/pip-build-714n8d/unknown/setup.py'
Failed cleaning build dir for unknown
Running setup.py bdist_wheel for scandir: started
Running setup.py bdist_wheel for scandir: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/91/95/75/19c98a91239878abbc7c59970abd3b4e0438a7dd5b61778335
Successfully built stevedore unknown unknown filelock scandir
Failed to build unknown
Installing collected packages: unknown, appdirs, distlib, unknown, filelock, scandir, pathlib2, virtualenv, pbr, stevedore, virtualenv-clone, virtualenvwrapper
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 pathlib2-2.3.5 pbr-5.5.1 scandir-1.10.0 stevedore-3.3.0 unknown-0.0.0 unknown-0.0.0 virtualenv-20.2.2 virtualenv-clone-0.5.4 virtualenvwrapper-4.8.2
You are using pip version 8.1.1, however version 20.3.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/virtualenvwrapper/hook_loader.py", line 16, in
from stevedore import ExtensionManager
File "/usr/local/lib/python2.7/dist-packages/stevedore/init.py", line 11, in
from .extension import ExtensionManager
File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 19, in
from . import _cache
File "/usr/local/lib/python2.7/dist-packages/stevedore/_cache.py", line 31, in
import importlib_metadata
ImportError: No module named importlib_metadata
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
set properly.
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 7, in
from virtualenv.main import run_with_catch
File "/usr/local/lib/python2.7/dist-packages/virtualenv/init.py", line 3, in
from .run import cli_run, session_via_cli
File "/usr/local/lib/python2.7/dist-packages/virtualenv/run/init.py", line 12, in
from .plugin.activators import ActivationSelector
File "/usr/local/lib/python2.7/dist-packages/virtualenv/run/plugin/activators.py", line 6, in
from .base import ComponentBuilder
File "/usr/local/lib/python2.7/dist-packages/virtualenv/run/plugin/base.py", line 9, in
from importlib_metadata import entry_points
ImportError: No module named importlib_metadata
The command '/bin/bash -c apt-get install -y python-dev python-pip graphviz graphviz-dev libxml2-dev libxslt-dev && rm -rf /var/lib/apt/lists/* && pip2 install virtualenvwrapper==4.8.2 && echo "export WORKON_HOME=$HOME/.virtualenvs" > ~/.profile && echo "source /usr/local/bin/virtualenvwrapper.sh" > ~/.profile && source ~/.profile && mkvirtualenv -p python2.7 discoursegraphs' returned a non-zero code: 1`