Traceback (most recent call last):


 "/home/david/.cache/hypothesis-build-runtimes/python-versions/3.6.5/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main

status = self.run(options, args)


 "/home/david/.cache/hypothesis-build-runtimes/python-versions/3.6.5/lib/python3.6/site-packages/pip/commands/install.py", line 350, in run

isolated=options.isolated_mode,


 "/home/david/.cache/hypothesis-build-runtimes/python-versions/3.6.5/lib/python3.6/site-packages/pip/commands/install.py", line 436, in get_lib_location_guesses

scheme = distutils_scheme('', *args, **kwargs)


 "/home/david/.cache/hypothesis-build-runtimes/python-versions/3.6.5/lib/python3.6/site-packages/pip/locations.py", line 153, in distutils_scheme

i.finalize_options()


 "/home/david/.cache/hypothesis-build-runtimes/python-versions/3.6.5/lib/python3.6/distutils/command/install.py", line 284, in finalize_options

(prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')


 "/home/david/.cache/hypothesis-build-runtimes/python-versions/3.6.5/lib/python3.6/distutils/__init__.py", line 105, in sysconfig_get_config_vars

real_vars = old_get_config_vars(*args)


 "/home/david/.cache/hypothesis-build-runtimes/python-versions/3.6.5/lib/python3.6/distutils/sysconfig.py", line 493, in get_config_vars

srcdir = os.path.dirname(get_makefile_filename())


 "/home/david/.cache/hypothesis-build-runtimes/python-versions/3.6.5/lib/python3.6/distutils/sysconfig.py", line 240, in get_makefile_filename

lib_dir = get_python_lib(plat_specific=0, standard_lib=1)


 "/home/david/.cache/hypothesis-build-runtimes/python-versions/3.6.5/lib/python3.6/distutils/__init__.py", line 94, in sysconfig_get_python_lib

prefix = sys.real_prefix
AttributeError: module 'sys' has no attribute 'real_prefix'

Traceback (most recent call last):

 "/usr/lib/python2.7/dist-packages/doit/action.py", line 360, in execute
returned_value = self.py_callable(*self.args, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/Nikola-7.3.0-py2.7.egg/nikola/image_processing.py", line 55, in resize_image
im = Image.open(src)

 "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2288, in open
% (filename if filename else fp))IOError: cannot identify image file u'galleries/test/normal_vectors.svg'