Traceback (most recent call last):


 "/usr/bin/pip", line 9, in <module>

from pip import main
ImportError: cannot import name main

Traceback (most recent call last):

 "/usr/local/bin/livestreamer", line 9, in <module>
load_entry_point('livestreamer==1.12.2', 'console_scripts', 'livestreamer')()

 "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 897, in main
handle_url()

 "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 478, in handle_url
streams = fetch_streams(plugin)

 "/usr/local/lib/python2.7/dist-packages/livestreamer_cli/main.py", line 391, in fetch_streams
sorting_excludes=args.stream_sorting_excludes)

 "/usr/local/lib/python2.7/dist-packages/livestreamer/plugin/plugin.py", line 313, in get_streams
return self.streams(*args, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/livestreamer/plugin/plugin.py", line 227, in streams
ostreams = self._get_streams()

 "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/streamupcom.py", line 20, in _get_streams
url = match.group(1)AttributeError: 'NoneType' object has no attribute 'group'