The following logs shows the set of commands and errors after trying to install the reviewbot-worker extension:
I attached the pip.log file to this post.
root@reviewboard:/etc/apache2/sites-available# sudo pip uninstall ReviewBot
Cannot uninstall requirement ReviewBot, not installed
Storing debug log for failure in /root/.pip/pip.log
root@reviewboard:/etc/apache2/sites-available# sudo pip install reviewbot-worker
Downloading/unpacking reviewbot-worker
Downloading reviewbot_worker-1.0-py2-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): pycodestyle>=2.3.1 in /usr/local/lib/python2.7/dist-packages (from reviewbot-worker)
Downloading/unpacking buildbot>=0.8.7 (from reviewbot-worker)
Downloading buildbot-1.1.0-py2.py3-none-any.whl (791kB): 791kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1266, in prepare_files
req_to_install.extras):
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2291, in requires
dm = self._dep_map
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2484, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2508, in _compute_dependencies
parsed = next(parse_requirements(distvers))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 45, in <lambda>
next = lambda o: o.next()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2605, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2573, in scan_list