$ pip install --upgrade pTraceback (most recent call last):


 "/usr/local/bin/pip3", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python3.7/site-packages/pip/_internal/__init__.py", line 293, in main

autocomplete()


 "/usr/local/lib/python3.7/site-packages/pip/_internal/__init__.py", line 121, in autocomplete

cwords, cword, subcommand.parser.option_list_all,


 "/usr/local/lib/python3.7/site-packages/pip/_internal/__init__.py", line 170, in get_path_completion_type

for x in opt.metavar.split('/')):
AttributeError: 'NoneType' object has no attribute 'split'

Traceback (most recent call last):


 "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/coalib/bears/Bear.py", line 282, in execute

return [] if result is None else list(result)


 "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/bears/general/KeywordBear.py", line 97, in run

comments = list(_get_comments(dependency_results))


 "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/bears/general/KeywordBear.py", line 23, in _get_comments

if isinstance(result.contents, str):
AttributeError: 'Result' object has no attribute 'contents'
