Closed claudekenni closed 6 years ago
Hubble itself seems to be installed but it won't run
root@.:/root/hubble > /usr/bin/pip list
/usr/lib/python2.7/site-packages/pip-18.0-py2.7.egg/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 3, 1]) may cause slowdown.
warnings.warn(warning, RequestsDependencyWarning)
Package Version
---------------------------- ---------
backports.ssl-match-hostname 3.5.0.1
certifi 2018.4.16
cffi 1.5.2
configobj 4.7.2
croniter 0.3.25
cryptography 1.3.1
decorator 3.4.0
enum34 1.1.3
futures 3.2.0
gitdb2 2.0.4
GitPython 2.1.11
hubblestack 2.4.1
idna 2.0
ipaddress 1.0.14
Jinja2 2.6
MarkupSafe 0.18
msgpack 0.5.6
msgpack-python 0.4.6
netaddr 0.7.12
numpy 1.8.0
pip 18.0
psutil 1.2.1
pyasn1 0.1.9
pyasn1-modules 0.0.5
pycparser 2.10
pycrypto 2.6.1
pycurl 7.19.0
pygobject 3.20.1
pyinotify 0.9.6
pyOpenSSL 16.0.0
PyPAM 0.5.0
pypyodbc 1.3.4
python-dateutil 2.7.3
pyudev 0.16.1
PyYAML 3.12
pyzmq 14.0.0
requests 2.8.1
salt 2016.11.4
salt-ssh 2018.3.2
setuptools 40.0.0
simplejson 3.3.1
six 1.9.0
smmap2 2.0.4
SSSDConfig 1.13.4
suds 0.4
tornado 4.2.1
root@.:/root/hubble > hubble
Traceback (most recent call last):
File "/usr/bin/hubble", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 651, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 952, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 847, in resolve
new_requirements = dist.requires(req.extras)[::-1]
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2602, in requires
dm = self._dep_map
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2597, in _dep_map
dm.setdefault(extra,[]).extend(parse_requirements(reqs))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2930, in parse_requirements
"version spec")
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2906, in scan_list
raise RequirementParseError(msg, line, "at", line[p:])
pkg_resources.RequirementParseError: Expected ',' or end-of-list in tornado>=4.2.1,<6.0; python_version < '3' at ; python_version < '3'
I've seen this issue before -- you need to update your setuptools via pip.
pip install --upgrade setuptools
Then tell it to install again. It's specifically the salt-ssh install that failed.
Ok that was it. Thanks.
I'm trying to install Hubblestack on a SLES12 Machine. After fixing errors with the required packages and installing them manually first I get the following error