"python setup.py egg_info" failed with error code 1

What is the problem?
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-rRPNga

What did you already try to solve it?
source ~/oprint/bin/activate
pip install --upgrade pip
Also updated the Setuptools
Can't seem to get this issue to go away
It started when I noticed that update OctoPrint version 1.3.10 would say it installed instantly but after rebooting was still at version 1.3.9
OctoPi version 0.15.1
Creality Ender 3 Printer
OctoPi was purchased from TH3D pre-installed on the Raspberry Pi 3B+ all as one unit.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware,
octoprint (1).log (30.0 KB)

The device has been working fine and wanted to add some plugins but thought updating to the latest version would be best first and then install the plugins

Any help would be greatly appreciated
Regards Gary

It's usually a good idea to let OctoPrint manage the pip version. That's a fairly dramatic leap, if you ask me. What's also odd is that the before version doesn't report itself surrounded by single quotes and the after version does.

|    pip: 9.0.3    # before
|    pip: '18.1'   # after

Not sure what you mean by this, to be honest.

2018-12-29 20:58:52,771 - octoprint.plugin.core - ERROR - Error fetching plugins from entry points
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 662, in _find_plugins
    ignore_uninstalled=ignore_uninstalled)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 760, in _find_plugins_from_entry_points
    for entry_point in wrapped(working_set.iter_entry_points(group=group, name=None)):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 752, in wrapped
    for entry in gen:
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 726, in iter_entry_points
    entries = dist.get_entry_map(group)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2639, in get_entry_map
    self._get_metadata('entry_points.txt'), self
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2373, in parse_map
    raise ValueError("Entry points must be listed in groups")
ValueError: Entry points must be listed in groups
2018-12-29 20:59:00,827 - octoprint.plugins.pluginmanager - ERROR - Installing the plugin from https://framagit.org/razer/Octoprint_ABL_Expert/-/archive/master/Octoprint_ABL_Expert-master.zip failed, could not parse output from pip. See plugin_pluginmanager_console.log for generated output
2018-12-29 22:54:31,324 - octoprint.plugins.softwareupdate - WARNING - Cannot perform update for octoprint, update type is not fully configured

Try running in Safe Mode, check the octoprint.log for any errors. If it's clean after the last boot, then try the upgrade again by visiting the Settings page for that.