RTD keeps failing to build - No module named osgeo
Issue #434
resolved
@Benjamin Jakimow @Andreas Janz Do you know where this is coming from. Any recent changes which might trigger this problem? I mean, from osgeo import gdal
is not new and occurs at a lot of places… Ideas?
Running Sphinx v1.8.5
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file
execfile_(filename, namespace)
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/doc/source/conf.py", line 126, in <module>
import enmapbox
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/enmapbox/__init__.py", line 40, in <module>
from osgeo import gdal
ModuleNotFoundError: No module named 'osgeo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 303, in build_main
args.tags, args.verbosity, args.jobs, args.keep_going)
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 201, in __init__
self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 203, in read
namespace = eval_config_file(filename, tags)
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 380, in eval_config_file
raise ConfigError(msg % traceback.format_exc())
sphinx.errors.ConfigError: There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file
execfile_(filename, namespace)
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/doc/source/conf.py", line 126, in <module>
import enmapbox
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/enmapbox/__init__.py", line 40, in <module>
from osgeo import gdal
ModuleNotFoundError: No module named 'osgeo'
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file
execfile_(filename, namespace)
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/doc/source/conf.py", line 126, in <module>
import enmapbox
File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/enmapbox/__init__.py", line 40, in <module>
from osgeo import gdal
ModuleNotFoundError: No module named 'osgeo'
Comments (5)
-
-
reporter see
#434→ <<cset 0a7cc907c5da>>
-
reporter Habe zuvor an der falschen Stelle gemockt 0d2b91b
Jetzt klappt es wohl, Erstellungsprozess läuft durch
-
-
reporter - changed status to resolved
fixed with cs 0a7cc907c5da
- Log in to comment
@Benjamin Jakimow don’t we mock these dependencies?