--- a/astropy_helpers/commands/build_sphinx.py 2017-10-12 03:56:31.000000000 +0800 +++ b/astropy_helpers/commands/build_sphinx.py 2018-02-06 21:49:54.599865388 +0800 @@ -126,7 +126,7 @@ build_cmd = self.get_finalized_command('build') build_cmd_path = os.path.abspath(build_cmd.build_lib) - ah_importer = pkgutil.get_importer('astropy_helpers') + ah_importer = pkgutil.get_importer('/usr/lib/python3.7/site-packages/astropy_helpers') ah_path = os.path.abspath(ah_importer.path) # Now generate the source for and spawn a new process that runs the